mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Keep -vet happy
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
package sync
|
package sync
|
||||||
|
|
||||||
import "intrinsics"
|
import "intrinsics"
|
||||||
import "core:runtime"
|
|
||||||
|
|
||||||
cpu_relax :: #force_inline proc "contextless" () {
|
cpu_relax :: #force_inline proc "contextless" () {
|
||||||
intrinsics.cpu_relax();
|
intrinsics.cpu_relax();
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package sync2
|
package sync2
|
||||||
|
|
||||||
import "core:runtime"
|
|
||||||
|
|
||||||
// A Wait_Group waits for a collection of threads to finish
|
// A Wait_Group waits for a collection of threads to finish
|
||||||
//
|
//
|
||||||
// A Wait_Group must not be copied after first use
|
// A Wait_Group must not be copied after first use
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
package sync2
|
package sync2
|
||||||
|
|
||||||
import "core:time"
|
import "core:time"
|
||||||
import "core:runtime"
|
|
||||||
|
|
||||||
Atomic_Mutex_State :: enum i32 {
|
Atomic_Mutex_State :: enum i32 {
|
||||||
Unlocked = 0,
|
Unlocked = 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user