1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

Set default stack size from program environment

New environment variable GLIBC_PTHREAD_DEFAULT_STACKSIZE to do this.
This commit is contained in:
Siddhesh Poyarekar
2013-03-01 14:15:39 +05:30
parent fd6cdc6da4
commit e23872c8db
8 changed files with 155 additions and 26 deletions

View File

@@ -243,7 +243,7 @@ _dl_tls_setup (void)
not used. */
void
__attribute__ ((weak))
__pthread_initialize_minimal (void)
__pthread_initialize_minimal (int argc, char **argv, char **envp)
{
__libc_setup_tls (TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN);
}