Browse Source

Rename package name to `sync`

gingerBill 3 years ago
parent
commit
b2f5b73532

+ 1 - 1
core/sync/atomic.odin

@@ -1,4 +1,4 @@
-package sync2
+package sync
 
 
 import "core:intrinsics"
 import "core:intrinsics"
 
 

+ 1 - 1
core/sync/extended.odin

@@ -1,4 +1,4 @@
-package sync2
+package sync
 
 
 import "core:time"
 import "core:time"
 
 

+ 1 - 1
core/sync/futex_darwin.odin

@@ -1,6 +1,6 @@
 //+private
 //+private
 //+build darwin
 //+build darwin
-package sync2
+package sync
 
 
 import "core:c"
 import "core:c"
 import "core:time"
 import "core:time"

+ 1 - 1
core/sync/futex_freebsd.odin

@@ -1,6 +1,6 @@
 //+private
 //+private
 //+build freebsd
 //+build freebsd
-package sync2
+package sync
 
 
 import "core:c"
 import "core:c"
 import "core:os"
 import "core:os"

+ 1 - 1
core/sync/futex_linux.odin

@@ -1,6 +1,6 @@
 //+private
 //+private
 //+build linux
 //+build linux
-package sync2
+package sync
 
 
 import "core:c"
 import "core:c"
 import "core:time"
 import "core:time"

+ 1 - 1
core/sync/futex_openbsd.odin

@@ -1,6 +1,6 @@
 //+private
 //+private
 //+build openbsd
 //+build openbsd
-package sync2
+package sync
 
 
 import "core:c"
 import "core:c"
 import "core:os"
 import "core:os"

+ 1 - 1
core/sync/futex_windows.odin

@@ -1,6 +1,6 @@
 //+private
 //+private
 //+build windows
 //+build windows
-package sync2
+package sync
 
 
 import "core:time"
 import "core:time"
 
 

+ 1 - 1
core/sync/primitives.odin

@@ -1,4 +1,4 @@
-package sync2
+package sync
 
 
 import "core:time"
 import "core:time"
 
 

+ 1 - 1
core/sync/primitives_atomic.odin

@@ -1,4 +1,4 @@
-package sync2
+package sync
 
 
 import "core:time"
 import "core:time"
 
 

+ 1 - 1
core/sync/primitives_darwin.odin

@@ -1,6 +1,6 @@
 //+build darwin
 //+build darwin
 //+private
 //+private
-package sync2
+package sync
 
 
 import "core:c"
 import "core:c"
 import "core:time"
 import "core:time"

+ 1 - 1
core/sync/primitives_freebsd.odin

@@ -1,6 +1,6 @@
 //+build freebsd
 //+build freebsd
 //+private
 //+private
-package sync2
+package sync
 
 
 import "core:os"
 import "core:os"
 
 

+ 1 - 1
core/sync/primitives_internal.odin

@@ -1,5 +1,5 @@
 //+private
 //+private
-package sync2
+package sync
 
 
 when #config(ODIN_SYNC_RECURSIVE_MUTEX_USE_FUTEX, true) {
 when #config(ODIN_SYNC_RECURSIVE_MUTEX_USE_FUTEX, true) {
 	_Recursive_Mutex :: struct {
 	_Recursive_Mutex :: struct {

+ 1 - 1
core/sync/primitives_linux.odin

@@ -1,6 +1,6 @@
 //+build linux
 //+build linux
 //+private
 //+private
-package sync2
+package sync
 
 
 import "core:sys/unix"
 import "core:sys/unix"
 
 

+ 1 - 1
core/sync/primitives_openbsd.odin

@@ -1,6 +1,6 @@
 //+build openbsd
 //+build openbsd
 //+private
 //+private
-package sync2
+package sync
 
 
 import "core:os"
 import "core:os"
 
 

+ 1 - 1
core/sync/primitives_pthreads.odin

@@ -1,6 +1,6 @@
 //+build linux, freebsd, openbsd
 //+build linux, freebsd, openbsd
 //+private
 //+private
-package sync2
+package sync
 
 
 import "core:time"
 import "core:time"
 import "core:sys/unix"
 import "core:sys/unix"

+ 1 - 1
core/sync/primitives_windows.odin

@@ -1,6 +1,6 @@
 //+build windows
 //+build windows
 //+private
 //+private
-package sync2
+package sync
 
 
 import "core:time"
 import "core:time"
 import win32 "core:sys/windows"
 import win32 "core:sys/windows"

+ 1 - 1
core/sync/sema_internal.odin

@@ -1,5 +1,5 @@
 //+private
 //+private
-package sync2
+package sync
 
 
 import "core:time"
 import "core:time"
 
 

+ 1 - 1
core/sync/sync_util.odin

@@ -1,4 +1,4 @@
-package sync2
+package sync
 
 
 /*
 /*
 Example:
 Example: