mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-24 14:45:00 -07:00
Rename package name to sync
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
import "core:intrinsics"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
import "core:time"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//+private
|
||||
//+build darwin
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
import "core:c"
|
||||
import "core:time"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//+private
|
||||
//+build freebsd
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
import "core:c"
|
||||
import "core:os"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//+private
|
||||
//+build linux
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
import "core:c"
|
||||
import "core:time"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//+private
|
||||
//+build openbsd
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
import "core:c"
|
||||
import "core:os"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//+private
|
||||
//+build windows
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
import "core:time"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
import "core:time"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
import "core:time"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//+build darwin
|
||||
//+private
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
import "core:c"
|
||||
import "core:time"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//+build freebsd
|
||||
//+private
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
import "core:os"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//+private
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
when #config(ODIN_SYNC_RECURSIVE_MUTEX_USE_FUTEX, true) {
|
||||
_Recursive_Mutex :: struct {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//+build linux
|
||||
//+private
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
import "core:sys/unix"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//+build openbsd
|
||||
//+private
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
import "core:os"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//+build linux, freebsd, openbsd
|
||||
//+private
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
import "core:time"
|
||||
import "core:sys/unix"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//+build windows
|
||||
//+private
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
import "core:time"
|
||||
import win32 "core:sys/windows"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//+private
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
import "core:time"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package sync2
|
||||
package sync
|
||||
|
||||
/*
|
||||
Example:
|
||||
|
||||
Reference in New Issue
Block a user