Home
last modified time | relevance | path

Searched refs:stack_limit (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/bionic/
Dpthread_attr.cpp120 rlimit stack_limit; in __pthread_attr_getstack_main_thread() local
121 if (getrlimit(RLIMIT_STACK, &stack_limit) == -1) { in __pthread_attr_getstack_main_thread()
126 if (stack_limit.rlim_cur == RLIM_INFINITY) { in __pthread_attr_getstack_main_thread()
127 stack_limit.rlim_cur = 8 * 1024 * 1024; in __pthread_attr_getstack_main_thread()
144 *stack_size = stack_limit.rlim_cur; in __pthread_attr_getstack_main_thread()