1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
2004-11-09  Roland McGrath  <roland@redhat.com>
	[BZ #530]
	* sysdeps/pthread/createthread.c (do_clone): Increment __nptl_nthreads
	here, before calling clone.
	* pthread_create.c (start_thread): Don't do it here.
This commit is contained in:
Roland McGrath
2004-11-09 21:52:49 +00:00
parent d1e0c70024
commit fd5d6a6294
2 changed files with 12 additions and 3 deletions

View File

@ -222,9 +222,6 @@ __free_tcb (struct pthread *pd)
static int
start_thread (void *arg)
{
/* One more thread. */
atomic_increment (&__nptl_nthreads);
struct pthread *pd = (struct pthread *) arg;
#if HP_TIMING_AVAIL