mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 21:08:36 +00:00
Fix compile error in WindowsCondition.wait()
This commit is contained in:
parent
806aeab2a7
commit
5dc251747b
@ -54,7 +54,7 @@ pub const WindowsCondition = struct {
|
||||
pub fn wait(cond: *WindowsCondition, mutex: *Mutex) void {
|
||||
const rc = windows.kernel32.SleepConditionVariableSRW(
|
||||
&cond.cond,
|
||||
&mutex.srwlock,
|
||||
&mutex.impl.srwlock,
|
||||
windows.INFINITE,
|
||||
@as(windows.ULONG, 0),
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user