Fix suspend-current-thread to NOT leave events unblocked.
authorMatt Birkholz <puck@birchwood-abbey.net>
Fri, 29 Jul 2016 06:56:49 +0000 (23:56 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Fri, 29 Jul 2016 06:56:49 +0000 (23:56 -0700)
commite47eaeec8005134b1be82265cd73903c5b415c1d
treeb647458d615a3bd0395286f8d3b72f0d0678d06f
parent5bf5e595647ed691c35e325ab18c51fe716eee01
Fix suspend-current-thread to NOT leave events unblocked.

Allow thread events to run in %resume-current-thread if they were
blocked but the thread is suspended, and block them again when the
thread continues.
src/runtime/thread.scm