diff options
author | davidxu <davidxu@FreeBSD.org> | 2007-01-05 03:57:11 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2007-01-05 03:57:11 +0000 |
commit | 9770c4c6408c7e3e2e8a6fba0b188c31ff129394 (patch) | |
tree | ee67e6c3588c5a731cb83522ef55f812defd9ea8 /lib/libthr/thread/thr_mutex.c | |
parent | dec2b546dd38701912976a6f7ef236bbe921978d (diff) | |
download | FreeBSD-src-9770c4c6408c7e3e2e8a6fba0b188c31ff129394.zip FreeBSD-src-9770c4c6408c7e3e2e8a6fba0b188c31ff129394.tar.gz |
Insert mutex at tail if it has highest ceiling.
Diffstat (limited to 'lib/libthr/thread/thr_mutex.c')
-rw-r--r-- | lib/libthr/thread/thr_mutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_mutex.c b/lib/libthr/thread/thr_mutex.c index ea40a9b..304fc80 100644 --- a/lib/libthr/thread/thr_mutex.c +++ b/lib/libthr/thread/thr_mutex.c @@ -710,7 +710,7 @@ _pthread_mutex_setprioceiling(pthread_mutex_t *mutex, return (0); } } - TAILQ_INSERT_HEAD(&curthread->pp_mutexq, m, m_qe); + TAILQ_INSERT_TAIL(&curthread->pp_mutexq, m, m_qe); } } return (0); |