From 472022708ee08ac559dde540891eb2f8c2a9afcf Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 14 Feb 2003 23:31:11 +0000 Subject: Update. 2003-02-14 Ulrich Drepper * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread counter and only call __exit_thread if this is not the last thread. --- nptl/init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nptl/init.c') diff --git a/nptl/init.c b/nptl/init.c index 4d30084..ddc6f3d 100644 --- a/nptl/init.c +++ b/nptl/init.c @@ -110,7 +110,8 @@ static struct pthread_functions pthread_functions = .ptr___pthread_getspecific = __pthread_getspecific_internal, .ptr___pthread_setspecific = __pthread_setspecific_internal, .ptr__pthread_cleanup_push_defer = __pthread_cleanup_push_defer, - .ptr__pthread_cleanup_pop_restore = __pthread_cleanup_pop_restore + .ptr__pthread_cleanup_pop_restore = __pthread_cleanup_pop_restore, + .ptr_nthreads = &__nptl_nthreads }; # define ptr_pthread_functions &pthread_functions #else -- cgit v1.1