summaryrefslogtreecommitdiff
path: root/lib/libthr/thread/thr_create.c
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2006-08-28 04:52:50 +0000
committerDavid Xu <davidxu@FreeBSD.org>2006-08-28 04:52:50 +0000
commit8ab9d78b9d33db67d108d1553fe3b1665ecc017f (patch)
treeaab98ede3e979d8c05c91281262d9ea7b281b2c2 /lib/libthr/thread/thr_create.c
parentcf13ecda6a65b6d6606659f152e2ad244c837765 (diff)
Notes
Diffstat (limited to 'lib/libthr/thread/thr_create.c')
-rw-r--r--lib/libthr/thread/thr_create.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_create.c b/lib/libthr/thread/thr_create.c
index f0d7cd50077a..dc22fe34fc59 100644
--- a/lib/libthr/thread/thr_create.c
+++ b/lib/libthr/thread/thr_create.c
@@ -107,6 +107,7 @@ _pthread_create(pthread_t * thread, const pthread_attr_t * attr,
PTHREAD_CANCEL_DEFERRED;
/* Initialize the mutex queue: */
TAILQ_INIT(&new_thread->mutexq);
+ TAILQ_INIT(&new_thread->pp_mutexq);
/* Initialise hooks in the thread structure: */
if (new_thread->attr.suspend == THR_CREATE_SUSPENDED) {