summaryrefslogtreecommitdiff
path: root/sys/kern/kern_synch.c
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2009-11-27 19:42:25 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2009-11-27 19:42:25 +0000
commitc84c43b4dd4a0b4fd392f5b5171ce683234649e4 (patch)
tree03b0926a8faf866bdf224f37e8957ad44a3d760e /sys/kern/kern_synch.c
parenta950c799236bacf77b94096700b5e5489793953c (diff)
Change threxit() to take a pointer to a pid_t to zero out from the
kernel so that librthread can detect when a thread is completely done with its stack without need a kqueue. The dying thread moves itself to a GC list, other threads scan the GC list on pthread_create() and pthread_join() and free the stack and handle once the thread's thread id is zeroed. "get it in" deraadt@, tedu@, cheers by others
Diffstat (limited to 'sys/kern/kern_synch.c')
0 files changed, 0 insertions, 0 deletions