Skip to content

Commit 5dc2517

Browse files
PhaseMageandrewrk
authored andcommitted
Fix compile error in WindowsCondition.wait()
1 parent 806aeab commit 5dc2517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/Thread/Condition.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub const WindowsCondition = struct {
5454
pub fn wait(cond: *WindowsCondition, mutex: *Mutex) void {
5555
const rc = windows.kernel32.SleepConditionVariableSRW(
5656
&cond.cond,
57-
&mutex.srwlock,
57+
&mutex.impl.srwlock,
5858
windows.INFINITE,
5959
@as(windows.ULONG, 0),
6060
);

0 commit comments

Comments
 (0)