Remove without-interrupts from runtime/global.scm.
authorMatt Birkholz <puck@birchwood-abbey.net>
Mon, 13 Jul 2015 00:23:52 +0000 (17:23 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Mon, 17 Aug 2015 23:52:59 +0000 (16:52 -0700)
commit8ee83b3ff5b398b471f57174b6f57bd4a01fb350
tree9b7bf988299945140c2421ed1397d1e3a273ce74
parent7a083e65d6aa9e8a67776f56d4c9416923488071
Remove without-interrupts from runtime/global.scm.

Clean-obarray runs as a secondary-gc-deamon and thus, in SMPing
worlds, it may run in parallel with other threads on other processors.

A number of primitives and compiler utilities modify the obarray so an
SMPing microcode will use a pthread mutex to serialize access to it.
Clean-obarray now uses a new procedure, with-obarray-lock, that uses
new primitives to participate in the serialization.
src/runtime/global.scm
src/runtime/runtime.pkg
src/runtime/thread.scm