summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_init.c
diff options
context:
space:
mode:
authorJason Evans <jasone@FreeBSD.org>2001-05-20 23:08:33 +0000
committerJason Evans <jasone@FreeBSD.org>2001-05-20 23:08:33 +0000
commit6699b0c6fe5ba655ac55ea5cba946fdcc0cf228b (patch)
treed89bbc87d3018d7cb1234795377d3f0ef34f62c9 /lib/libpthread/thread/thr_init.c
parent67d1f21cbefeec741ddb15e99369fa92f7a841c5 (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_init.c')
-rw-r--r--lib/libpthread/thread/thr_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/thread/thr_init.c b/lib/libpthread/thread/thr_init.c
index 033b78ee5ba1..b63a11157737 100644
--- a/lib/libpthread/thread/thr_init.c
+++ b/lib/libpthread/thread/thr_init.c
@@ -318,8 +318,8 @@ _thread_init(void)
/* Set the name of the thread: */
_thread_initial->name = strdup("_thread_initial");
- /* Initialise the queue: */
- TAILQ_INIT(&(_thread_initial->join_queue));
+ /* Initialize joiner to NULL (no joiner): */
+ _thread_initial->joiner = NULL;
/* Initialize the owned mutex queue and count: */
TAILQ_INIT(&(_thread_initial->mutexq));