This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
A missing patch?
- To: drepper@cygnus.com (Ulrich Drepper)
- Subject: A missing patch?
- From: hjl@varesearch.com (H.J. Lu)
- Date: Fri, 29 Jan 1999 16:09:43 -0800 (PST)
- Cc: libc-hacker@cygnus.com (GNU C Library)
Hi,
This is the ChangeLog entry:
(pthread_handle_create): Increment __pthread_handles_num.
But the real patch is missing.
Thanks.
--
H.J. Lu (hjl@gnu.org)
--
1999-01-24 H.J. Lu <hjl@gnu.org>
* manager.c (__pthread_manager): Delete __pthread_sig_debug
from mask if __pthread_sig_debug > 0.
(pthread_handle_create): Increment __pthread_handles_num.
Index: manager.c
===================================================================
RCS file: /local/work/cvs/gnu/glibc/linuxthreads/manager.c,v
retrieving revision 1.1.1.14
diff -u -p -r1.1.1.14 manager.c
--- manager.c 1999/01/30 00:03:36 1.1.1.14
+++ manager.c 1999/01/30 00:06:52
@@ -314,6 +314,7 @@ static int pthread_handle_create(pthread
&guardaddr, &guardsize) == 0)
break;
}
+ __pthread_handles_num++;
/* Allocate new thread identifier */
pthread_threads_counter += PTHREAD_THREADS_MAX;
new_thread_id = sseg + pthread_threads_counter;