diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-01-29 20:38:04 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-01-29 20:38:04 +0000 |
commit | cca50323b6a80283886c5fb6e2cff25f6c2d006b (patch) | |
tree | 3787ee6c3122d8692610861baba3db91b997e8d8 /nptl/pthreadP.h | |
parent | cdf77dd87b27260d1aefbad18aaa169d4a3a6121 (diff) | |
download | glibc-cca50323b6a80283886c5fb6e2cff25f6c2d006b.zip glibc-cca50323b6a80283886c5fb6e2cff25f6c2d006b.tar.gz glibc-cca50323b6a80283886c5fb6e2cff25f6c2d006b.tar.bz2 |
* allocatestack.c (__free_stacks): Renamed from free_stacks.
(__free_stack_cache): Removed. Change callers to call __free_stacks.
* init.c (nptl_freeres): New function.
(pthread_functions): Initialize ptr_freeres to nptl_freeres.
* pthreadP.h: Don't declare __free_stack_cache. Declare __free_stacks.
* sysdeps/pthread/unwind-forcedunwind.c (libgcc_s_handle): New
variable.
(pthread_cancel_init): Depend in libgcc_s_handle for decision to
load DSO. Assign last.
(__unwind_freeres): New function.
* allocatestack.c (__reclaim_stacks): Reset in_flight_stack later
for better debugging. No need to use stack_list_add here.
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r-- | nptl/pthreadP.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index 17b6492..ed9fc62 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2002,2003,2004,2005,2006,2007 Free Software Foundation, Inc. +/* Copyright (C) 2002-2007, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. @@ -247,6 +247,7 @@ hidden_proto (__pthread_register_cancel) hidden_proto (__pthread_unregister_cancel) # ifdef SHARED extern void attribute_hidden pthread_cancel_init (void); +extern void __unwind_freeres (void); # endif #endif @@ -564,7 +565,7 @@ extern void __nptl_deallocate_tsd (void) attribute_hidden; extern int __nptl_setxid (struct xid_command *cmdp) attribute_hidden; -extern void __free_stack_cache (void) attribute_hidden; +extern void __free_stacks (size_t limit) attribute_hidden; extern void __wait_lookup_done (void) attribute_hidden; |