aboutsummaryrefslogtreecommitdiff
path: root/core/sync_windows.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_windows.odin
parent95fb5fa46cfb3c90d6d69027f090364333d8f821 (diff)
Use comma for struct field separators (disallow nesting)
Diffstat (limited to 'core/sync_windows.odin')
-rw-r--r--core/sync_windows.odin12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/sync_windows.odin b/core/sync_windows.odin
index af4177daa..a6a88e246 100644
--- a/core/sync_windows.odin
+++ b/core/sync_windows.odin
@@ -2,20 +2,20 @@ when ODIN_OS == "windows" do import win32 "core:sys/windows.odin";
import "core:atomics.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,
}
*/
Mutex :: struct {
- _critical_section: win32.Critical_Section;
+ _critical_section: win32.Critical_Section,
}
current_thread_id :: proc() -> i32 {