diff options
author | 2009-11-27 19:42:24 +0000 | |
---|---|---|
committer | 2009-11-27 19:42:24 +0000 | |
commit | c5891344754a98257cef33dd5de91410b984000a (patch) | |
tree | c6bd45abbc39e3d112fbc487778b0dbd4988d1a8 /lib/libc/stdlib/malloc.c | |
parent | Bump the libc major for the post-h2k9 string of ABI changes and additions (diff) | |
download | wireguard-openbsd-c5891344754a98257cef33dd5de91410b984000a.tar.xz wireguard-openbsd-c5891344754a98257cef33dd5de91410b984000a.zip |
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 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions