freebsd-skq/lib/libthr
Mike Makonnen 5dbd7addb0 1. Now that it's a thread's state is changed from within the kernel, where
no userland locks are heald, the dead thread lock can no longer protect
   access to it. Therefore, instead of using an if (!dead)...else clause
   after walking the active threads list test the thread pointer before
   deciding not to walk the dead threads list. If the thread pointer is null
   it means it was not found in the active threads list and the dead threads
   list should be checked.

2. Do not free the stack of a thread that is not marked dead. This is the
   2nd and final part of eliminating the race to free a thread's stack.

MFC after: 3 days
2004-10-13 11:42:20 +00:00
..
arch Adjust code to support AMD64, on AMD64, thread needs to set fsbase by 2004-08-19 23:49:04 +00:00
sys - Adjust the makefiles so we have a per architecture makefile. 2003-04-01 07:07:38 +00:00
thread 1. Now that it's a thread's state is changed from within the kernel, where 2004-10-13 11:42:20 +00:00
Makefile Add rtld-elf to the include path for the rtld to pthread TLS interface. 2004-08-15 21:51:18 +00:00