summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-05-19 23:23:10 +0200
committerAraq <rumpf_a@web.de>2011-05-19 23:23:10 +0200
commitc70fa87471c6963dd39653358e2f0f8ac59797d9 (patch)
tree940c845270b2001b1834c880cbb509b05e5a5ed3 /lib/system.nim
parent9b460a71cef95cea944d637b7e8bb6c785317a34 (diff)
downloadNim-c70fa87471c6963dd39653358e2f0f8ac59797d9.tar.gz
further progress for multi-threading
Diffstat (limited to 'lib/system.nim')
-rwxr-xr-xlib/system.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index b8093cdad..9a9e4fb06 100755
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -1461,7 +1461,8 @@ when not defined(EcmaScript) and not defined(NimrodVM):
     # Linux 64bit system. Very strange, but we are at the will of GCC's 
     # optimizer...
     var locals {.volatile.}: pointer
-    setStackBottom(addr(locals))
+    locals = addr(locals)
+    setStackBottom(locals)
 
   var
     strDesc: TNimType