Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
This commit is contained in:
parent
a600dfa5b7
commit
964afd3050
1 changed files with 2 additions and 2 deletions
|
|
@ -2,8 +2,8 @@ discard """
|
||||||
output: '''
|
output: '''
|
||||||
In doStuff()
|
In doStuff()
|
||||||
In initProcess()
|
In initProcess()
|
||||||
initProcess() done
|
|
||||||
TEST
|
TEST
|
||||||
|
initProcess() done
|
||||||
Crashes before getting here!
|
Crashes before getting here!
|
||||||
'''
|
'''
|
||||||
joinable: false
|
joinable: false
|
||||||
|
|
@ -18,8 +18,8 @@ proc initProcess(): void =
|
||||||
echo("In initProcess()")
|
echo("In initProcess()")
|
||||||
var thread: Thread[void]
|
var thread: Thread[void]
|
||||||
createThread(thread, whatever)
|
createThread(thread, whatever)
|
||||||
echo("initProcess() done")
|
|
||||||
joinThread(thread)
|
joinThread(thread)
|
||||||
|
echo("initProcess() done")
|
||||||
|
|
||||||
proc doStuff(): void =
|
proc doStuff(): void =
|
||||||
echo("In doStuff()")
|
echo("In doStuff()")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue