Make storage.o state thread-local or single-threaded.
authorMatt Birkholz <puck@birchwood-abbey.net>
Sat, 20 Dec 2014 19:08:15 +0000 (12:08 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Thu, 26 Nov 2015 08:09:46 +0000 (01:09 -0700)
commit0ea7f53216b7fdfbf5d97067e6e0fe0a707449c2
tree59dae54c294778ef9bc30a21950503eb3d1c0b9f
parentcfc75b48500141d3bbe3b4d6f973deb9a613ba51
Make storage.o state thread-local or single-threaded.

Make the debugging flags and buffers pthread-local.

Serialize use of the MAKE-EPHEMERON primitive with a pthread mutex.

fixed_objects and heap_reserved are modified by primitives that the
runtime system already uses in serial fashion.
src/microcode/extern.h
src/microcode/memmag.c
src/microcode/storage.c