1.0.41.38: ppc: Runtime damage for threads.
authorAlastair Bridgewater <lisphacker@users.sourceforge.net>
Sun, 8 Aug 2010 01:13:36 +0000 (01:13 +0000)
committerAlastair Bridgewater <lisphacker@users.sourceforge.net>
Sun, 8 Aug 2010 01:13:36 +0000 (01:13 +0000)
commit42d824066eff6e6dc70596814d35b8bf9484836f
treeaa1ae0876d3877318887d1e95da0ab744fc24c8d
parentdad60222de85068322fbd0214b9c715053510f4d
1.0.41.38: ppc: Runtime damage for threads.

  * Call out to pthread_getspecific() from call_into_lisp in
order to obtain the TLS block for lisp operation.

  * Tie together the runtime / gencgc version of pseudo-atomic
and the arch-specific / interrupt context version of pseudo-
atomic, to fulfill the requirements of the earlier pseudo-
atomic restructuring.

  * Generally use the thread structure instead of global
variables where appropriate.

  * Save our TLS block in the pthread per-thread storage area.

  * SIG_STOP_FOR_GC appears to default to masked on PPC, so
unblock it in initial_thread_trampoline().

  * Link with -lpthread when appropriate.
src/runtime/Config.ppc-linux
src/runtime/ppc-arch.c
src/runtime/ppc-arch.h
src/runtime/ppc-assem.S
src/runtime/ppc-linux-os.c
src/runtime/thread.c
version.lisp-expr