From: Matt Birkholz Date: Sat, 11 Jul 2015 00:26:23 +0000 (-0700) Subject: Look for IO in yield-current-thread. X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=00fe7dc886bb264c70f844b8ceca244e849c742b;p=mit-scheme.git Look for IO in yield-current-thread. --- diff --git a/src/runtime/thread.scm b/src/runtime/thread.scm index 99da9083b..aa5119723 100644 --- a/src/runtime/thread.scm +++ b/src/runtime/thread.scm @@ -422,6 +422,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)