diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-12-11 00:19:48 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-12-11 00:19:48 +0000 |
commit | df4b52670da644e7bd952242b6d1e8f6fcd0c5b2 (patch) | |
tree | 362f2780fa4da1e285ed537b8a08e2eccf119a0b /lib/libpthread/uthread/uthread_create.c | |
parent | d9bad47758857d3344bedc12dff936f73958442f (diff) |
More sync with freebsd code; join related code this time.
Diffstat (limited to 'lib/libpthread/uthread/uthread_create.c')
-rw-r--r-- | lib/libpthread/uthread/uthread_create.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/uthread/uthread_create.c b/lib/libpthread/uthread/uthread_create.c index 5b1897b7ef4..de96d4440de 100644 --- a/lib/libpthread/uthread/uthread_create.c +++ b/lib/libpthread/uthread/uthread_create.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_create.c,v 1.16 2001/12/08 14:51:36 fgsch Exp $ */ +/* $OpenBSD: uthread_create.c,v 1.17 2001/12/11 00:19:47 fgsch Exp $ */ /* * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au> * All rights reserved. @@ -140,8 +140,8 @@ pthread_create(pthread_t * thread, const pthread_attr_t * attr, new_thread->active_priority = new_thread->base_priority; new_thread->inherited_priority = 0; - /* Initialise the join queue for the new thread: */ - TAILQ_INIT(&(new_thread->join_queue)); + /* Initialize joiner to NULL (no joiner): */ + new_thread->joiner = NULL; /* Initialize the mutex queue: */ TAILQ_INIT(&new_thread->mutexq); |