Remove without-interrupts from runtime/global.scm.
authorMatt Birkholz <puck@birchwood-abbey.net>
Mon, 6 Jul 2015 01:25:35 +0000 (18:25 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Mon, 6 Jul 2015 05:45:44 +0000 (22:45 -0700)
commit6e809a7dba54ee4a9d81d20b3e044bfaff543f7e
treeebfe78cb08696718ce56f628ddfe743ce740c4b0
parent622b2d695b6d6dae4dbf710b6cfb5da426eeb1eb
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-system-obarray-lock, that
uses new primitives to participate in the serialization.

Remove limit-interrupts!.  Like without-interrupts, it will not work
as expected in SMPing worlds.
src/runtime/global.scm
src/runtime/runtime.pkg
src/runtime/thread.scm
src/runtime/wind.scm