diff options
Diffstat (limited to 'linuxthreads/manager.c')
-rw-r--r-- | linuxthreads/manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c index 1d21760cf9..3268ea8a41 100644 --- a/linuxthreads/manager.c +++ b/linuxthreads/manager.c @@ -633,6 +633,7 @@ static int pthread_handle_create(pthread_t *thread, const pthread_attr_t *attr, initialized to zero already have this value. */ new_thread->p_header.data.tcb = new_thread; new_thread->p_header.data.self = new_thread; + new_thread->p_header.data.multiple_threads = 1; new_thread->p_tid = new_thread_id; new_thread->p_lock = &(__pthread_handles[sseg].h_lock); new_thread->p_cancelstate = PTHREAD_CANCEL_ENABLE; |