Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread_attr.cpp190 rlimit stack_limit; in __pthread_attr_getstack_main_thread() local
191 if (getrlimit(RLIMIT_STACK, &stack_limit) == -1) { in __pthread_attr_getstack_main_thread()
197 if (stack_limit.rlim_cur == RLIM_INFINITY) { in __pthread_attr_getstack_main_thread()
198 stack_limit.rlim_cur = 8 * 1024 * 1024; in __pthread_attr_getstack_main_thread()
214 *stack_size = stack_limit.rlim_cur; in __pthread_attr_getstack_main_thread()