diff options
| author | Mike Makonnen <mtm@FreeBSD.org> | 2003-07-01 15:52:09 +0000 |
|---|---|---|
| committer | Mike Makonnen <mtm@FreeBSD.org> | 2003-07-01 15:52:09 +0000 |
| commit | 745a4a9ef8ee3864c88b94a771d30d9475641fc9 (patch) | |
| tree | fb27322e97ba374135d9225ae92885018f70087e /lib/libthr/thread/thr_mutex.c | |
| parent | f6b1c44d1f70d5f298b911f2c1dcd802b0d11339 (diff) | |
Notes
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 7d7c4550b040..32441581ed3e 100644 --- a/lib/libthr/thread/thr_mutex.c +++ b/lib/libthr/thread/thr_mutex.c @@ -1406,8 +1406,8 @@ get_mcontested(pthread_mutex_t mutexp) * threads are concerned) setting of the thread state with * it's status on the mutex queue. */ + mutex_queue_enq(mutexp, curthread); do { - mutex_queue_enq(mutexp, curthread); PTHREAD_SET_STATE(curthread, PS_MUTEX_WAIT); curthread->data.mutex = mutexp; _thread_critical_exit(curthread); |
