diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-08-23 17:47:19 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-08-23 17:47:19 +0000 |
commit | ba408f846541f7279ef12858545abac1c26719e7 (patch) | |
tree | ee69064e7ad1e2309448d91f2125988debe2073c /nptl/pthreadP.h | |
parent | 9a464a6eff6a5a88c3fb68e8f4eabeaccd9f10dd (diff) | |
download | glibc-ba408f846541f7279ef12858545abac1c26719e7.zip glibc-ba408f846541f7279ef12858545abac1c26719e7.tar.gz glibc-ba408f846541f7279ef12858545abac1c26719e7.tar.bz2 |
* allocatestack.c (queue_stack): Move freeing of surplus stacks to...
(free_stacks): ...here.
(__free_stack_cache): New function.
* pthreadP.h: Declare __free_stack_cache.
* sysdeps/pthread/pthread-functions.h (pthread_functions): Add
ptr_freeres.
* init.c (pthread_functions): Initialize ptr_freeres.
* sysdeps/unix/sysv/linux/libc_pthread_init.c (freeres_libptread):
New freeres function.
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r-- | nptl/pthreadP.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index 503e99b..f9634ab 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -543,6 +543,8 @@ 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; + #ifdef SHARED # define PTHREAD_STATIC_FN_REQUIRE(name) #else |