Date: Sun, 25 May 2003 17:28:49 -0700 (PDT) From: Mike Makonnen <mtm@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libthr/thread thr_join.c Message-ID: <200305260028.h4Q0Snff026293@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mtm 2003/05/25 17:28:49 PDT FreeBSD src repository Modified files: lib/libthr/thread thr_join.c Log: 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 Revision Changes Path 1.6 +6 -12 src/lib/libthr/thread/thr_join.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305260028.h4Q0Snff026293>