summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_stack.c
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2003-05-26 00:28:49 +0000
committermtm <mtm@FreeBSD.org>2003-05-26 00:28:49 +0000
commit3440accd67bef89b04b9c16c578fd05c6de445b3 (patch)
treedb7f7c2fddbe575b6d97a6bdca6e04924e0f8eb6 /lib/libthr/thread/thr_stack.c
parentd8e0ed54e351db48278bd6693dde605fcda057df (diff)
downloadFreeBSD-src-3440accd67bef89b04b9c16c578fd05c6de445b3.zip
FreeBSD-src-3440accd67bef89b04b9c16c578fd05c6de445b3.tar.gz
Revise the unlock order in _pthread_join(). Also, if the joined
thread is not dead, the join loop is guaranteed to execute at least once, so there is no need to pick up the thread list lock after we return from suspenstion only to release it after the loop. Approved by: re/blanket libthr
Diffstat (limited to 'lib/libthr/thread/thr_stack.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud