Accommodate multiple processors.
authorMatt Birkholz <puck@birchwood-abbey.net>
Tue, 18 Aug 2015 16:57:06 +0000 (09:57 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Thu, 26 Nov 2015 08:09:44 +0000 (01:09 -0700)
commit66ffdf329a18da3cea534c2c6d153c7f0beb3ffa
tree97cae14ef9784e84a812a6c10fd6ecc53c04d13f
parente63a8ab3f7a139307dc215fdedfb4b4ce1bf9c2c
Accommodate multiple processors.

Keep the threads running on each processor in a 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