Searched refs:stack_size (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/include/ |
D | pthread.h | 71 size_t stack_size; member 122 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size); 123 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size); 128 int pthread_attr_setstack(pthread_attr_t * attr, void * stackaddr, size_t stack_size); 129 int pthread_attr_getstack(pthread_attr_t const * attr, void ** stackaddr, size_t * stack_size);
|
/bionic/libc/bionic/ |
D | pthread.c | 87 .stack_size = DEFAULT_STACKSIZE, 167 *p_stack_size = thread->attr.stack_size; in __get_stack_base() 318 size_t stackSize = (attr->stack_size + in pthread_create() 432 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size) in pthread_attr_setstacksize() argument 434 if ((stack_size & (PAGE_SIZE - 1) || stack_size < PTHREAD_STACK_MIN)) { in pthread_attr_setstacksize() 437 attr->stack_size = stack_size; in pthread_attr_setstacksize() 441 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size) in pthread_attr_getstacksize() argument 443 *stack_size = attr->stack_size; in pthread_attr_getstacksize() 463 *stack_addr = (char*)attr->stack_base + attr->stack_size; in pthread_attr_getstackaddr() 467 int pthread_attr_setstack(pthread_attr_t * attr, void * stack_base, size_t stack_size) in pthread_attr_setstack() argument [all …]
|