tester: threading tests added
This commit is contained in:
parent
a497b4d1cf
commit
62aa8bed3b
9 changed files with 96 additions and 29 deletions
|
|
@ -40,7 +40,7 @@ proc threadFunc(interval: tuple[a, b: int]) {.thread.} =
|
|||
var r = buildTree(i)
|
||||
echoLeTree(r) # for local data
|
||||
root = buildTree(2) # BAD!
|
||||
echoLeTree(root) # and the same for foreign data :-)
|
||||
#echoLeTree(root) # and the same for foreign data :-)
|
||||
|
||||
proc main =
|
||||
root = buildTree(5)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue