mirror of
https://github.com/ziglang/zig.git
synced 2026-02-02 20:53:44 +00:00
commit
b56e916fa1
@ -103,8 +103,10 @@ pub const Node = struct {
|
||||
}
|
||||
parent.completeOne();
|
||||
} else {
|
||||
const held = self.context.update_lock.acquire();
|
||||
defer held.release();
|
||||
self.context.done = true;
|
||||
self.context.refresh();
|
||||
self.context.refreshWithHeldLock();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -299,6 +299,6 @@ pub extern "kernel32" fn SleepConditionVariableSRW(
|
||||
f: ULONG,
|
||||
) callconv(WINAPI) BOOL;
|
||||
|
||||
pub extern "kernel32" fn TryAcquireSRWLockExclusive(s: *SRWLOCK) callconv(WINAPI) BOOL;
|
||||
pub extern "kernel32" fn TryAcquireSRWLockExclusive(s: *SRWLOCK) callconv(WINAPI) BOOLEAN;
|
||||
pub extern "kernel32" fn AcquireSRWLockExclusive(s: *SRWLOCK) callconv(WINAPI) void;
|
||||
pub extern "kernel32" fn ReleaseSRWLockExclusive(s: *SRWLOCK) callconv(WINAPI) void;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user