diff options
author | davidxu <davidxu@FreeBSD.org> | 2006-03-27 23:50:21 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2006-03-27 23:50:21 +0000 |
commit | 255936645ee180cbe2421e975b37ca5a0b909f0d (patch) | |
tree | b9c60d754d927cc2bd40ebcb206e1e116909d312 /lib/libthr/thread/thr_create.c | |
parent | 6bf81397d76889cb68aea5b4919132591916e638 (diff) | |
download | FreeBSD-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.c | 1 |
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) { |