Don't assume there is a current thread when interrupted.
authorTaylor R Campbell <campbell@mumble.net>
Mon, 1 Jul 2013 15:15:25 +0000 (15:15 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Mon, 1 Jul 2013 15:15:27 +0000 (15:15 +0000)
commit83dcf806feb364919a51e686910cd3d892affb37
tree4aad85445c018195b74ddc90fb513af3d7ded8de
parentc2617b4a0a72efe63f4fa1e93d5671053fbc2f5b
Don't assume there is a current thread when interrupted.

Fixes error `No current thread!' when the thread timer interrupt
handler tries to find the interrupted thread's floating-point
environment and there is no current thread.
src/runtime/floenv.scm
src/runtime/thread.scm