summary refs log tree commit diff stats
path: root/lib/core/locks.nim
diff options
context:
space:
mode:
authorJacek Sieka <arnetheduck@gmail.com>2016-04-26 21:25:57 +0800
committerJacek Sieka <arnetheduck@gmail.com>2016-04-26 21:25:57 +0800
commitba1a52614b3feccaadadebf45cf897192902ed4d (patch)
treecd66f3d4ba01d25499aa452e68cd34c192804e9c /lib/core/locks.nim
parenta2501321c39a89fb0bad52dcb8ef7c974d4ae5d2 (diff)
parente31ec746b96ef185d9f5fa6276518949fa889e5a (diff)
downloadNim-ba1a52614b3feccaadadebf45cf897192902ed4d.tar.gz
Merge remote-tracking branch 'origin/devel' into malloc-store-size
Diffstat (limited to 'lib/core/locks.nim')
-rw-r--r--lib/core/locks.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/core/locks.nim b/lib/core/locks.nim
index 66e0ab520..fbe9c8acf 100644
--- a/lib/core/locks.nim
+++ b/lib/core/locks.nim
@@ -9,6 +9,7 @@
 
 ## This module contains Nim's support for locks and condition vars.
 
+const insideRLocksModule = false
 include "system/syslocks"
 
 type
@@ -63,4 +64,4 @@ template withLock*(a: Lock, body: untyped) =
     try:
       body
     finally:
-      a.release()
\ No newline at end of file
+      a.release()