mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-28 18:30:06 +00:00
Minor changes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user