summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_create.c
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2006-03-27 23:50:21 +0000
committerdavidxu <davidxu@FreeBSD.org>2006-03-27 23:50:21 +0000
commit255936645ee180cbe2421e975b37ca5a0b909f0d (patch)
treeb9c60d754d927cc2bd40ebcb206e1e116909d312 /lib/libthr/thread/thr_create.c
parent6bf81397d76889cb68aea5b4919132591916e638 (diff)
downloadFreeBSD-src-255936645ee180cbe2421e975b37ca5a0b909f0d.zip
FreeBSD-src-255936645ee180cbe2421e975b37ca5a0b909f0d.tar.gz
Remove priority mutex code because it does not work correctly,
to make it work, turnstile like mechanism to support priority propagating and other realtime scheduling options in kernel should be available to userland mutex, for the moment, I just want to make libthr be simple and efficient thread library. Discussed with: deischen, julian
Diffstat (limited to 'lib/libthr/thread/thr_create.c')
-rw-r--r--lib/libthr/thread/thr_create.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_create.c b/lib/libthr/thread/thr_create.c
index 6b67f4e..b35f6b7 100644
--- a/lib/libthr/thread/thr_create.c
+++ b/lib/libthr/thread/thr_create.c
@@ -129,7 +129,6 @@ _pthread_create(pthread_t * thread, const pthread_attr_t * attr,
/* Initialize the mutex queue: */
TAILQ_INIT(&new_thread->mutexq);
- TAILQ_INIT(&new_thread->pri_mutexq);
/* Initialise hooks in the thread structure: */
if (new_thread->attr.suspend == THR_CREATE_SUSPENDED) {
OpenPOWER on IntegriCloud