summary refs log tree commit diff stats
path: root/tests/threads/t7172.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/threads/t7172.nim')
-rw-r--r--tests/threads/t7172.nim6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/threads/t7172.nim b/tests/threads/t7172.nim
index 983765dba..87e89417b 100644
--- a/tests/threads/t7172.nim
+++ b/tests/threads/t7172.nim
@@ -1,15 +1,17 @@
 discard """
+  disabled: i386
   output: '''
 In doStuff()
 In initProcess()
-initProcess() done
 TEST
+initProcess() done
 Crashes before getting here!
 '''
   joinable: false
 """
 
 import std/os
+import std/typedthreads
 
 proc whatever() {.thread, nimcall.} =
   echo("TEST")
@@ -18,8 +20,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()")