Add io-waiter, the *one* processor that waits on the io-registry.
authorMatt Birkholz <puck@birchwood-abbey.net>
Sat, 18 Jul 2015 23:04:44 +0000 (16:04 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Thu, 26 Nov 2015 08:09:45 +0000 (01:09 -0700)
commitb615caebb304fda488072d3a582cc7d2f008811f
treed63ae5b60d8387520a62abeef504d32839dd7c83
parent319664d98f5a65d40c66f94abd04be0cc2f72c62
Add io-waiter, the *one* processor that waits on the io-registry.

The other processors use the new SMP-IDLE primitive to wait for
runnable threads.  Wake one of these whenever threads become runnable.
Wake the io-waiter whenever the io-registry is changed.
src/runtime/thread.scm