summary refs log tree commit diff stats
path: root/lib/system/syslocks.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-01-11 21:56:05 +0100
committerAraq <rumpf_a@web.de>2014-01-11 21:56:05 +0100
commit346443d1b552574c1f259cd9e6080c2d0063fa9c (patch)
tree0f319406b8312ed325bbb1ef1ea5b7ef74662e07 /lib/system/syslocks.nim
parent437cfa73abd8fdf878cc2af2c44acbc4b6ec3a56 (diff)
downloadNim-346443d1b552574c1f259cd9e6080c2d0063fa9c.tar.gz
case consistency improvements
Diffstat (limited to 'lib/system/syslocks.nim')
-rw-r--r--lib/system/syslocks.nim3
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,