mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 08:54:53 +00:00
Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
This commit is contained in:
@@ -2,8 +2,8 @@ discard """
|
||||
output: '''
|
||||
In doStuff()
|
||||
In initProcess()
|
||||
initProcess() done
|
||||
TEST
|
||||
initProcess() done
|
||||
Crashes before getting here!
|
||||
'''
|
||||
joinable: false
|
||||
@@ -18,8 +18,8 @@ proc initProcess(): void =
|
||||
echo("In initProcess()")
|
||||
var thread: Thread[void]
|
||||
createThread(thread, whatever)
|
||||
echo("initProcess() done")
|
||||
joinThread(thread)
|
||||
echo("initProcess() done")
|
||||
|
||||
proc doStuff(): void =
|
||||
echo("In doStuff()")
|
||||
|
||||
Reference in New Issue
Block a user