bugfix: bottom of AVL tree is now threadsafe

This commit is contained in:
Andreas Rumpf 2016-09-22 11:32:12 +02:00
commit bc53d2c9de
3 changed files with 7 additions and 5 deletions

View file

@ -101,8 +101,8 @@ type
# shared:
var
bottomData: AvlNode
bottom: PAvlNode
bottomData {.threadvar.}: AvlNode
bottom {.threadvar.}: PAvlNode
{.push stack_trace: off.}
proc initAllocator() =