remove pthread from sys/unix and use sys/posix where used

This commit is contained in:
Laytan
2024-12-01 11:54:51 +11:00
committed by flysand7
parent 7de56ec852
commit 2b5f0fc729
10 changed files with 38 additions and 749 deletions
+3 -3
View File
@@ -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()
}
}
}