Fix compile error in WindowsCondition.wait()

This commit is contained in:
Travis Martin 2021-09-10 12:20:59 -07:00 committed by Andrew Kelley
parent 806aeab2a7
commit 5dc251747b

View File

@ -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),
);