diff options
| author | Laytan <laytanlaats@hotmail.com> | 2024-10-28 19:20:43 +0100 |
|---|---|---|
| committer | Laytan <laytanlaats@hotmail.com> | 2024-10-28 19:20:43 +0100 |
| commit | afed3ce6b5ae00d12e46f2799f16e286369ef3b3 (patch) | |
| tree | 783c48d98d0729081e8ed529d621ca2175f21388 /core/testing/signal_handler_libc.odin | |
| parent | e064f8c6bec2e656446b52afb35af7bfee02e6a9 (diff) | |
remove pthread from sys/unix and use sys/posix where used
Diffstat (limited to 'core/testing/signal_handler_libc.odin')
| -rw-r--r-- | core/testing/signal_handler_libc.odin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/testing/signal_handler_libc.odin b/core/testing/signal_handler_libc.odin index 7442c100c..6b82b59bf 100644 --- a/core/testing/signal_handler_libc.odin +++ b/core/testing/signal_handler_libc.odin @@ -15,7 +15,7 @@ import "core:c/libc" import "core:encoding/ansi" import "core:sync" import "core:os" -@require import "core:sys/unix" +@require import "core:sys/posix" @(private="file") stop_runner_flag: libc.sig_atomic_t @@ -114,8 +114,8 @@ This is a dire bug and should be reported to the Odin developers. // properly set to PTHREAD_CANCEL_ASYNCHRONOUS. // // The runner would stall after returning from `pthread_cancel`. - - unix.pthread_testcancel() + + posix.pthread_testcancel() } } } |