cvs commit: src/lib/libthr/thread thr_exit.c
Mike Makonnen
mtm at FreeBSD.org
Tue May 27 14:48:43 PDT 2003
mtm 2003/05/27 14:48:42 PDT
FreeBSD src repository
Modified files:
lib/libthr/thread thr_exit.c
Log:
Minimize the potential for deadlocks between an exiting thread and it's
joiner by making sure all locks and unlocks occur in the same order. For
the record the lock order is: DEAD_LIST, THREAD_LIST, exiting thread, joiner
thread.
Approved by: re/rwatson
Revision Changes Path
1.7 +18 -2 src/lib/libthr/thread/thr_exit.c
More information about the cvs-src
mailing list