mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
* 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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user