It is possible to catch a LWP while it is being created or destroyed,
commit93b990b69b3c931abf2e8b4310dba8ba9b740192
authordillon <dillon>
Sat, 11 Aug 2007 18:18:30 +0000 (11 18:18 +0000)
committerdillon <dillon>
Sat, 11 Aug 2007 18:18:30 +0000 (11 18:18 +0000)
treed4191564903ebc5d819f9dd4ae957e291b5a111f
parent9b919c58a260da05dca51b690d4b0ca60f19d857
It is possible to catch a LWP while it is being created or destroyed,
with lwp_thread == NULL.  Check for the case.

Reported-by: Stefan Krueger <space7@web.de>
sys/kern/kern_synch.c