about summary refs log tree commit diff
path: root/linuxthreads/pthread.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-11-09 01:18:02 +0000
committerUlrich Drepper <drepper@redhat.com>1999-11-09 01:18:02 +0000
commit178a145a90c1c03baaa634bdb69a73b2e6aa2c72 (patch)
treeeb873b4e4461788704636c745a13aa3af8edbd1e /linuxthreads/pthread.c
parent727211c42911512f71d23eacf584ce1c3dbfd4c2 (diff)
downloadglibc-178a145a90c1c03baaa634bdb69a73b2e6aa2c72.tar.gz
glibc-178a145a90c1c03baaa634bdb69a73b2e6aa2c72.tar.xz
glibc-178a145a90c1c03baaa634bdb69a73b2e6aa2c72.zip
Update.
1999-11-08  Ulrich Drepper  <drepper@cygnus.com>

	* pthread.c (__pthread_initialize_manager): Initialize
	__pthread_manager_thread.p_tid.
Diffstat (limited to 'linuxthreads/pthread.c')
-rw-r--r--linuxthreads/pthread.c1
1 files changed, 1 insertions, 0 deletions
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)