Look for IO in yield-current-thread.
authorMatt Birkholz <puck@birchwood-abbey.net>
Sat, 11 Jul 2015 00:26:23 +0000 (17:26 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Mon, 17 Aug 2015 23:52:57 +0000 (16:52 -0700)
src/runtime/thread.scm

index fc75ab94ba7b99c31587e0ae8c0e5a645364fe16..feafed9322a2062d37a898a1e5fbb2adfb2edb0e 100644 (file)
@@ -325,6 +325,7 @@ USA.
         ;; Allow preemption now, since the current thread has
         ;; volunteered to yield control.
         (set-thread/execution-state! thread 'RUNNING)
+        (maybe-signal-io-thread-events)
         (yield-thread thread))))))
 
 (define (yield-thread thread #!optional fp-env)