diff options
| author | Jason Evans <jasone@FreeBSD.org> | 2001-05-20 23:08:33 +0000 |
|---|---|---|
| committer | Jason Evans <jasone@FreeBSD.org> | 2001-05-20 23:08:33 +0000 |
| commit | 6699b0c6fe5ba655ac55ea5cba946fdcc0cf228b (patch) | |
| tree | d89bbc87d3018d7cb1234795377d3f0ef34f62c9 /lib/libpthread/thread/thr_create.c | |
| parent | 67d1f21cbefeec741ddb15e99369fa92f7a841c5 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_create.c')
| -rw-r--r-- | lib/libpthread/thread/thr_create.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/thread/thr_create.c b/lib/libpthread/thread/thr_create.c index f1a3473ebd9e..40f5364e2d54 100644 --- a/lib/libpthread/thread/thr_create.c +++ b/lib/libpthread/thread/thr_create.c @@ -235,8 +235,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); |
