diff options
author | ps <ps@FreeBSD.org> | 2006-04-08 02:23:27 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2006-04-08 02:23:27 +0000 |
commit | e8f84ee984b6589b7998e049b88f34d034eb7049 (patch) | |
tree | f23c1087558ca8d21c4abd3fd664e86f7a32a62b /lib/libthr/thread/thr_attr.c | |
parent | aa6df7801fd5bc684cc428915dd295b33d1ba0c1 (diff) | |
download | FreeBSD-src-e8f84ee984b6589b7998e049b88f34d034eb7049.zip FreeBSD-src-e8f84ee984b6589b7998e049b88f34d034eb7049.tar.gz |
Close a pesky race where after checking the BUSY flag in amr_wait_command,
the completion of the command can occur before tsleep is called and
the command ends up blocking forever since the wakeup has already
been called.
Submitted by: ups
Diffstat (limited to 'lib/libthr/thread/thr_attr.c')
0 files changed, 0 insertions, 0 deletions