From fb8ad338d0c3f568c0554a4cb910e947fc3950f7 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 8 Jun 2021 18:26:38 +0100 Subject: [PATCH] Keep -vet happy --- core/sync/sync.odin | 1 - core/sync/sync2/extended.odin | 2 -- core/sync/sync2/primitives_atomic.odin | 1 - 3 files changed, 4 deletions(-) diff --git a/core/sync/sync.odin b/core/sync/sync.odin index 60d226d20..51e1a93b8 100644 --- a/core/sync/sync.odin +++ b/core/sync/sync.odin @@ -1,7 +1,6 @@ package sync import "intrinsics" -import "core:runtime" cpu_relax :: #force_inline proc "contextless" () { intrinsics.cpu_relax(); diff --git a/core/sync/sync2/extended.odin b/core/sync/sync2/extended.odin index 9ee796057..e7acbbbd2 100644 --- a/core/sync/sync2/extended.odin +++ b/core/sync/sync2/extended.odin @@ -1,7 +1,5 @@ package sync2 -import "core:runtime" - // A Wait_Group waits for a collection of threads to finish // // A Wait_Group must not be copied after first use diff --git a/core/sync/sync2/primitives_atomic.odin b/core/sync/sync2/primitives_atomic.odin index cfd06130d..315c21a31 100644 --- a/core/sync/sync2/primitives_atomic.odin +++ b/core/sync/sync2/primitives_atomic.odin @@ -1,7 +1,6 @@ package sync2 import "core:time" -import "core:runtime" Atomic_Mutex_State :: enum i32 { Unlocked = 0,