Accommodate multiple processors.
authorMatt Birkholz <puck@birchwood-abbey.net>
Sat, 11 Jul 2015 18:49:15 +0000 (11:49 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Sat, 11 Jul 2015 18:49:15 +0000 (11:49 -0700)
commitd177ba6f373517a2b465bd392e26569fedd3c337
treef2dd3821de14fceda3725945279e26a9cbb2c878
parent00fe7dc886bb264c70f844b8ceca244e849c742b
Accommodate multiple processors.

Keep the threads running on each processor in the current-threads
vector.  Change the running list into a runnable list: the threads
that are runnable but not currently running on a processor.
src/runtime/ffi.scm
src/runtime/make.scm
src/runtime/runtime.pkg
src/runtime/thread.scm