summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-04-25 19:54:42 +0200
committerAraq <rumpf_a@web.de>2014-04-25 19:54:42 +0200
commitfab8cee13d305cc157a7332d00a49e1d48577949 (patch)
tree210b1f4d1d728084b562e5a1223d7fa2214f36cb /lib/system
parente6675bd8b289c864e768dd4a87e291a670efc3cf (diff)
downloadNim-fab8cee13d305cc157a7332d00a49e1d48577949.tar.gz
minor tweaks; updated todo.txt
Diffstat (limited to 'lib/system')
-rw-r--r--lib/system/threads.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/threads.nim b/lib/system/threads.nim
index 0d52e4d09..d3b3aa457 100644
--- a/lib/system/threads.nim
+++ b/lib/system/threads.nim
@@ -243,7 +243,7 @@ when not defined(useNimRtl):
       
     # on UNIX, the GC uses ``SIGFREEZE`` to tell every thread to stop so that
     # the GC can examine the stacks?
-    proc stopTheWord() = nil
+    proc stopTheWord() = discard
     
 # We jump through some hops here to ensure that Nimrod thread procs can have
 # the Nimrod calling convention. This is needed because thread procs are