Searched refs:stack_limit (Results 1 – 2 of 2) sorted by relevance
190 rlimit stack_limit; in __pthread_attr_getstack_main_thread() local191 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()
1274 rlimit stack_limit; in GetThreadStack()1275 if (getrlimit(RLIMIT_STACK, &stack_limit) == -1) { in GetThreadStack()1278 if (stack_limit.rlim_cur == RLIM_INFINITY) { in GetThreadStack()