| ... | @@ -54,7 +54,7 @@ pub const WindowsCondition = struct { | ... | @@ -54,7 +54,7 @@ pub const WindowsCondition = struct { |
| 54 | pub fn wait(cond: *WindowsCondition, mutex: *Mutex) void { | 54 | pub fn wait(cond: *WindowsCondition, mutex: *Mutex) void { |
| 55 | const rc = windows.kernel32.SleepConditionVariableSRW( | 55 | const rc = windows.kernel32.SleepConditionVariableSRW( |
| 56 | &cond.cond, | 56 | &cond.cond, |
| 57 | &mutex.srwlock, | 57 | &mutex.impl.srwlock, |
| 58 | windows.INFINITE, | 58 | windows.INFINITE, |
| 59 | @as(windows.ULONG, 0), | 59 | @as(windows.ULONG, 0), |
| 60 | ); | 60 | ); |