mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-28 18:30:06 +00:00
Replace core:* to base:* where appropriate
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package sync
|
||||
|
||||
import "core:intrinsics"
|
||||
import "base:intrinsics"
|
||||
|
||||
cpu_relax :: intrinsics.cpu_relax
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
//+build wasm32, wasm64p32
|
||||
package sync
|
||||
|
||||
import "core:intrinsics"
|
||||
import "base:intrinsics"
|
||||
import "core:time"
|
||||
|
||||
_futex_wait :: proc "contextless" (f: ^Futex, expected: u32) -> bool {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package sync
|
||||
|
||||
import "core:runtime"
|
||||
import "base:runtime"
|
||||
import "core:time"
|
||||
|
||||
current_thread_id :: proc "contextless" () -> int {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
package sync
|
||||
|
||||
import "core:c"
|
||||
import "core:intrinsics"
|
||||
import "base:intrinsics"
|
||||
|
||||
foreign import pthread "System.framework"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user