diff options
Diffstat (limited to 'tests/accept/run/tnodeadlocks.nim')
-rwxr-xr-x | tests/accept/run/tnodeadlocks.nim | 4 |
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]]] |