diff options
Diffstat (limited to 'linuxthreads')
-rw-r--r-- | linuxthreads/ChangeLog | 5 | ||||
-rw-r--r-- | linuxthreads/pthread.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index a670e9f93a..2a69af79df 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,8 @@ +1999-11-08 Ulrich Drepper <drepper@cygnus.com> + + * pthread.c (__pthread_initialize_manager): Initialize + __pthread_manager_thread.p_tid. + 1999-11-02 Ulrich Drepper <drepper@cygnus.com> * internals.h: Declare __pthread_last_event. diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index 5296c1e349..ab1a0f189e 100644 --- a/linuxthreads/pthread.c +++ b/linuxthreads/pthread.c @@ -398,6 +398,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) |