From 4c9a8f4e9047e3e521af82c893770b4811e78d8d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 10 Nov 1999 05:03:58 +0000 Subject: [PATCH] (__pthread_initialize_manager): Initialize __pthread_manager_thread.p_tid. --- linuxthreads/pthread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index 9a21c5cb3f9..9fb46b0e85f 100644 --- a/linuxthreads/pthread.c +++ b/linuxthreads/pthread.c @@ -382,6 +382,7 @@ int __pthread_initialize_manager(void) } __pthread_manager_request = manager_pipe[1]; /* writing end */ __pthread_manager_reader = manager_pipe[0]; /* reading end */ + __pthread_manager_thread.p_tid = 2* PTHREAD_THREADS_MAX + 1; __pthread_manager_thread.p_pid = pid; /* Make gdb aware of new thread manager */ if (__pthread_threads_debug && __pthread_sig_debug > 0) -- 2.47.2