aboutsummaryrefslogtreecommitdiff
path: root/core/sync_linux.odin
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-09-21 23:18:28 +0100
committerGinger Bill <bill@gingerbill.org>2017-09-21 23:18:28 +0100
commitc43d66c286c0cf622402bd1e21f2bbc7de2a6b49 (patch)
tree71a723ef4583645ff20415c376272065f06e882b /core/sync_linux.odin
parent95fb5fa46cfb3c90d6d69027f090364333d8f821 (diff)
Use comma for struct field separators (disallow nesting)
Diffstat (limited to 'core/sync_linux.odin')
-rw-r--r--core/sync_linux.odin10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/sync_linux.odin b/core/sync_linux.odin
index fcc8f7200..0df140efe 100644
--- a/core/sync_linux.odin
+++ b/core/sync_linux.odin
@@ -2,14 +2,14 @@ import "core:atomics.odin";
import "core:os.odin";
Semaphore :: struct {
- // _handle: win32.Handle;
+ // _handle: win32.Handle,
}
Mutex :: struct {
- _semaphore: Semaphore;
- _counter: i32;
- _owner: i32;
- _recursion: i32;
+ _semaphore: Semaphore,
+ _counter: i32,
+ _owner: i32,
+ _recursion: i32,
}
current_thread_id :: proc() -> i32 {