diff options
author | mtm <mtm@FreeBSD.org> | 2003-05-27 21:48:42 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2003-05-27 21:48:42 +0000 |
commit | f36826da252195aa5d378f4a53351b191fc6d531 (patch) | |
tree | 4f75318788f96bf41ebf286bfc73efad47a0ea14 /lib/libc/stdlib/strtoumax.c | |
parent | 3f6c2641b4f70913825502f0cc91dfd37fb08754 (diff) | |
download | FreeBSD-src-f36826da252195aa5d378f4a53351b191fc6d531.zip FreeBSD-src-f36826da252195aa5d378f4a53351b191fc6d531.tar.gz |
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
Diffstat (limited to 'lib/libc/stdlib/strtoumax.c')
0 files changed, 0 insertions, 0 deletions