summary refs log tree commit diff stats
path: root/lib/system/alloc.nim
diff options
context:
space:
mode:
authorJohannes Hofmann <johannes.hofmann@gmx.de>2016-09-24 14:54:32 +0200
committerJohannes Hofmann <johannes.hofmann@gmx.de>2016-09-24 14:54:32 +0200
commit77109d4c7bef90f54078bfc6aa43c79e02ba0c2c (patch)
tree32cafa005fe8197eab92cef986bd765be3fb8aaa /lib/system/alloc.nim
parent829b70644069d2ce6760ad4c31d598722c282418 (diff)
parent7a107dc24592077295baca5b5944861783b1b92f (diff)
downloadNim-77109d4c7bef90f54078bfc6aa43c79e02ba0c2c.tar.gz
Merge branch 'devel' into unify_waitpid_handling
Diffstat (limited to 'lib/system/alloc.nim')
-rw-r--r--lib/system/alloc.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/alloc.nim b/lib/system/alloc.nim
index bed9fd906..745bbbf62 100644
--- a/lib/system/alloc.nim
+++ b/lib/system/alloc.nim
@@ -101,8 +101,8 @@ type
 
 # shared:
 var
-  bottomData: AvlNode
-  bottom: PAvlNode
+  bottomData {.threadvar.}: AvlNode
+  bottom {.threadvar.}: PAvlNode
 
 {.push stack_trace: off.}
 proc initAllocator() =