diff options
author | Araq <rumpf_a@web.de> | 2014-01-11 21:56:05 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-01-11 21:56:05 +0100 |
commit | 346443d1b552574c1f259cd9e6080c2d0063fa9c (patch) | |
tree | 0f319406b8312ed325bbb1ef1ea5b7ef74662e07 /lib/system/syslocks.nim | |
parent | 437cfa73abd8fdf878cc2af2c44acbc4b6ec3a56 (diff) | |
download | Nim-346443d1b552574c1f259cd9e6080c2d0063fa9c.tar.gz |
case consistency improvements
Diffstat (limited to 'lib/system/syslocks.nim')
-rw-r--r-- | lib/system/syslocks.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/system/syslocks.nim b/lib/system/syslocks.nim index 0f67af40c..5e3b04b7f 100644 --- a/lib/system/syslocks.nim +++ b/lib/system/syslocks.nim @@ -66,6 +66,9 @@ when defined(Windows): discard waitForSingleObject(cond, -1'i32) acquireSys(lock) + proc waitSysCondWindows(cond: var TSysCond) = + discard waitForSingleObject(cond, -1'i32) + else: type TSysLock {.importc: "pthread_mutex_t", pure, final, |