aboutsummaryrefslogtreecommitdiff
path: root/core/sync
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-06-29 19:50:51 +0100
committergingerBill <bill@gingerbill.org>2024-06-29 19:50:51 +0100
commite296d6fb902083fac534bdd4c804e6dbad2fc458 (patch)
tree18e0875791d202dc4dde1d148c0786494e2b2b14 /core/sync
parent90244a0849afe9f17e011dc8c3bae571c9f5bb26 (diff)
Fix loads of indentation issues with mixing spaces and tabs
Diffstat (limited to 'core/sync')
-rw-r--r--core/sync/chan/chan.odin2
-rw-r--r--core/sync/primitives_atomic.odin2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/sync/chan/chan.odin b/core/sync/chan/chan.odin
index 0c3f4a725..0c98124de 100644
--- a/core/sync/chan/chan.odin
+++ b/core/sync/chan/chan.odin
@@ -304,7 +304,7 @@ try_recv_raw :: proc "contextless" (c: ^Raw_Chan, msg_out: rawptr) -> bool {
if sync.atomic_load(&c.closed) ||
sync.atomic_load(&c.w_waiting) == 0 {
- return false
+ return false
}
mem.copy(msg_out, c.unbuffered_data, int(c.msg_size))
diff --git a/core/sync/primitives_atomic.odin b/core/sync/primitives_atomic.odin
index 1b7cdfe35..2cf25ac11 100644
--- a/core/sync/primitives_atomic.odin
+++ b/core/sync/primitives_atomic.odin
@@ -169,7 +169,7 @@ atomic_rw_mutex_shared_unlock :: proc "contextless" (rw: ^Atomic_RW_Mutex) {
if (state & Atomic_RW_Mutex_State_Reader_Mask == Atomic_RW_Mutex_State_Reader) &&
(state & Atomic_RW_Mutex_State_Is_Writing != 0) {
- atomic_sema_post(&rw.sema)
+ atomic_sema_post(&rw.sema)
}
}