summaryrefslogtreecommitdiff
path: root/rts/win32/AsyncWinIO.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/win32/AsyncWinIO.c')
-rw-r--r--rts/win32/AsyncWinIO.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/win32/AsyncWinIO.c b/rts/win32/AsyncWinIO.c
index 6bacf48eb1..a280c28bde 100644
--- a/rts/win32/AsyncWinIO.c
+++ b/rts/win32/AsyncWinIO.c
@@ -426,7 +426,7 @@ bool queueIOThread()
StgTSO * tso = createStrictIOThread (cap, RtsFlags.GcFlags.initialStkSize,
processRemoteCompletion_closure);
ASSERT(tso);
- scheduleThread (cap, tso);
+ scheduleThreadNow (cap, tso);
result = true;
}
ReleaseSRWLockExclusive (&lock);