Remove core:os dependency for base:runtime

This commit is contained in:
gingerBill
2024-01-28 22:40:46 +00:00
parent eee8e0faa2
commit 9a16bc5fc5
19 changed files with 200 additions and 118 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ package sync
import "core:c"
import "core:time"
foreign import System "System.framework"
foreign import System "system:System.framework"
foreign System {
// __ulock_wait is not available on 10.15
+1 -1
View File
@@ -5,7 +5,7 @@ package sync
import "core:c"
import "base:intrinsics"
foreign import pthread "System.framework"
foreign import pthread "system:System.framework"
_current_thread_id :: proc "contextless" () -> int {
tid: u64