summary refs log tree commit diff stats
path: root/tests/accept
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-08-20 00:24:02 +0200
committerAraq <rumpf_a@web.de>2011-08-20 00:24:02 +0200
commitd560e84fcc1171164073a31797649c26a54b03e1 (patch)
tree3466a4c3b27b1bdf10f489c130632bb6eef17975 /tests/accept
parent5cba831c8848658d67b7a00e24d9696326b9bcc9 (diff)
downloadNim-d560e84fcc1171164073a31797649c26a54b03e1.tar.gz
locks now in their own core module
Diffstat (limited to 'tests/accept')
-rwxr-xr-xtests/accept/run/tnodeadlocks.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/accept/run/tnodeadlocks.nim b/tests/accept/run/tnodeadlocks.nim
index 3235e84ee..18fdca3e9 100755
--- a/tests/accept/run/tnodeadlocks.nim
+++ b/tests/accept/run/tnodeadlocks.nim
@@ -3,10 +3,10 @@ discard """
   cmd: "nimrod cc --hints:on --threads:on $# $#"
 """
 
-import os
+import os, locks
 
 const
-  noDeadlocks = defined(system.deadlocksPrevented)
+  noDeadlocks = defined(preventDeadlocks)
 
 var
   thr: array [0..5, TThread[tuple[a, b: int]]]