bugfix: bottom of AVL tree is now threadsafe
This commit is contained in:
parent
5a2ff9035e
commit
bc53d2c9de
3 changed files with 7 additions and 5 deletions
|
|
@ -101,8 +101,8 @@ type
|
|||
|
||||
# shared:
|
||||
var
|
||||
bottomData: AvlNode
|
||||
bottom: PAvlNode
|
||||
bottomData {.threadvar.}: AvlNode
|
||||
bottom {.threadvar.}: PAvlNode
|
||||
|
||||
{.push stack_trace: off.}
|
||||
proc initAllocator() =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue