1.0.25.41: only call pthread_kill with valid thread ids
authorGabor Melis <mega@hotpop.com>
Mon, 16 Feb 2009 22:07:55 +0000 (22:07 +0000)
committerGabor Melis <mega@hotpop.com>
Mon, 16 Feb 2009 22:07:55 +0000 (22:07 +0000)
commitdca9c046b59d56ecddf36169f6994119ef8aeace
tree2ed4db459ae4ce09300cd6fbb01a5e79b0afdae7
parentbbbe40be1052fe7d46dacbfeb2e13041e5c9b293
1.0.25.41: only call pthread_kill with valid thread ids

... else it segfaults (at least on Linux). Fixes sporadic "Unhandled
memory fault" running timer, INTERRUPT-THREAD heavy code. And block
signals while calling pthread_kill because it is not async signal
safe.
NEWS
src/runtime/interrupt.c
src/runtime/thread.c
src/runtime/thread.h
version.lisp-expr