summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_exit.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-10-26 06:09:01 +0000
committerjhb <jhb@FreeBSD.org>2001-10-26 06:09:01 +0000
commitd410ad416617dd759436028e1cb0f545fe5f5d07 (patch)
tree040d2032f8f4bf1ba3f704fc7a04dc4ed5919a64 /lib/libpthread/thread/thr_exit.c
parente655c7bdcaf79400600c7acbb120adeeaf3dfc6d (diff)
downloadFreeBSD-src-d410ad416617dd759436028e1cb0f545fe5f5d07.zip
FreeBSD-src-d410ad416617dd759436028e1cb0f545fe5f5d07.tar.gz
Use msleep() to avoid lost wakeup's instead of doing an ineffective
splhigh() before the mtx_unlock and tsleep(). The splhigh() was probably correct in the original code using simplelocks but is not correct in 5.0-current. Noticed by: Andrew Reiter <awr@FreeBSD.org>
Diffstat (limited to 'lib/libpthread/thread/thr_exit.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud