[std/locks]close #7998(complete condition variables) (#17711)
* close #7998 * workaround genode * Update lib/system/syslocks.nim
This commit is contained in:
parent
cedbc7035d
commit
dc89b21257
5 changed files with 60 additions and 45 deletions
|
|
@ -17,6 +17,9 @@ when defined(windows):
|
|||
proc winResumeThread(hThread: SysThread): int32 {.
|
||||
stdcall, dynlib: "kernel32", importc: "ResumeThread".}
|
||||
|
||||
proc waitForSingleObject(hHandle: SysThread, dwMilliseconds: int32): int32 {.
|
||||
stdcall, dynlib: "kernel32", importc: "WaitForSingleObject".}
|
||||
|
||||
proc waitForMultipleObjects(nCount: int32,
|
||||
lpHandles: ptr SysThread,
|
||||
bWaitAll: int32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue