mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-25 17:03:48 +00:00
Update sys/windows; Add sync.Blocking_Mutex (windows only at the moment)
This commit is contained in:
@@ -95,5 +95,5 @@ terminate :: proc(using thread : ^Thread, exit_code: u32) {
|
||||
}
|
||||
|
||||
yield :: proc() {
|
||||
win32.Sleep(0);
|
||||
win32.SwitchToThread();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user