* allocatestack.c (queue_stack): Move freeing of surplus stacks to...
commitba408f846541f7279ef12858545abac1c26719e7
authorUlrich Drepper <drepper@redhat.com>
Wed, 23 Aug 2006 17:47:19 +0000 (23 17:47 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 23 Aug 2006 17:47:19 +0000 (23 17:47 +0000)
treeee69064e7ad1e2309448d91f2125988debe2073c
parent9a464a6eff6a5a88c3fb68e8f4eabeaccd9f10dd
* 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.
nptl/ChangeLog
nptl/allocatestack.c
nptl/init.c
nptl/pthreadP.h
nptl/sysdeps/pthread/pthread-functions.h
nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c