1.0.25.39: thread start/stop fixes
commit77090f53cbf9c0df39e8b052891b84b2c6812676
authorGabor Melis <mega@hotpop.com>
Mon, 16 Feb 2009 22:04:26 +0000 (16 22:04 +0000)
committerGabor Melis <mega@hotpop.com>
Mon, 16 Feb 2009 22:04:26 +0000 (16 22:04 +0000)
tree8634e7fc4b3cd01928b4b3c1712be374611f764c
parentd9d75ffc2f436767c81a4091ec4ff7006c1ec676
1.0.25.39: thread start/stop fixes

- disable interrupts during create_thread

  ... to protect against signals (async unwinds, reentrancy, ...)
  during malloc, pthread code and to make the pinning of
  INITIAL-FUNCTION effective. Also add checks to
  new_thread_trampoline.

- make-thread: assert gc enabled (to prevent deadlocks)

- block blockables while holding LOCK_CREATE_THREAD lock

- make dying threads safe from interrupts
NEWS
src/code/target-thread.lisp
src/runtime/thread.c
version.lisp-expr