summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_mutex.c
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2007-05-09 08:39:33 +0000
committerdavidxu <davidxu@FreeBSD.org>2007-05-09 08:39:33 +0000
commitd97c4f1e52204982c2c5d0ccda0b2e54bf010712 (patch)
tree82992c905443fab7febb24abd2e516ef359f7c8f /lib/libthr/thread/thr_mutex.c
parent2ddb46eeb6224ecb7078555faf58fa91374c0760 (diff)
downloadFreeBSD-src-d97c4f1e52204982c2c5d0ccda0b2e54bf010712.zip
FreeBSD-src-d97c4f1e52204982c2c5d0ccda0b2e54bf010712.tar.gz
backout experimental adaptive spinning mutex for product use.
Diffstat (limited to 'lib/libthr/thread/thr_mutex.c')
-rw-r--r--lib/libthr/thread/thr_mutex.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_mutex.c b/lib/libthr/thread/thr_mutex.c
index 304fc80..c08ee81 100644
--- a/lib/libthr/thread/thr_mutex.c
+++ b/lib/libthr/thread/thr_mutex.c
@@ -136,7 +136,6 @@ mutex_init(pthread_mutex_t *mutex,
pmutex->m_lock.m_owner = UMUTEX_UNOWNED;
pmutex->m_lock.m_flags = 0;
}
- pmutex->m_lock.m_spincount = _thr_adaptive_spin;
*mutex = pmutex;
return (0);
}
OpenPOWER on IntegriCloud