diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2003-07-30 13:28:05 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2003-07-30 13:28:05 +0000 |
| commit | 24dc93d4c203806ea5969bcd350aeec9df53a60b (patch) | |
| tree | 21d8bd7c1dd6a2ebc9b5b7fbee0d78cca7852255 /lib/libpthread/thread/thr_mutex.c | |
| parent | 6662c0c12ea8f4e74295a6ba41d74f19edf0bc25 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_mutex.c')
| -rw-r--r-- | lib/libpthread/thread/thr_mutex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_mutex.c b/lib/libpthread/thread/thr_mutex.c index 7e8de44f8956..00da0f0270bb 100644 --- a/lib/libpthread/thread/thr_mutex.c +++ b/lib/libpthread/thread/thr_mutex.c @@ -1008,6 +1008,7 @@ mutex_unlock_common(pthread_mutex_t *m, int add_reference) * This thread now owns one less priority mutex. */ curthread->priority_mutex_count--; + THR_SCHED_UNLOCK(curthread, curthread); /* Remove the mutex from the threads queue. */ MUTEX_ASSERT_IS_OWNED(*m); |
