Minor changes

This commit is contained in:
Ginger Bill committed 2016-12-16 20:18:23 +00:00
1 parent 9634b28b07
commit d4457e9fa4
5 files changed
+17 -70

No files matched your search

-5
View File
@@ -35,11 +35,6 @@ semaphore_wait :: proc(s: ^Semaphore) {
win32.WaitForSingleObject(s.handle, win32.INFINITE);
}
mutex_make :: proc() -> Mutex {
m: Mutex
mutex_init(^m)
return m
}
mutex_init :: proc(m: ^Mutex) {
atomic.store32(^m.counter, 0);