Searched refs:stackAddress (Results 1 - 1 of 1) sorted by relevance

/haiku/src/tests/system/libroot/posix/
H A Dpthread_attr_stack_test.cpp27 void* stackAddress; local
29 ret = pthread_attr_getstack(&attr, &stackAddress, &stackSize);
31 printf("stackAddress: %p, stackSize: %lu\n", stackAddress, stackSize);
33 ret = posix_memalign(&stackAddress, sysconf(_SC_PAGE_SIZE),
36 ret = pthread_attr_setstack(&attr, stackAddress, stackSize);
38 ret = pthread_attr_getstack(&attr, &stackAddress, &stackSize);
40 printf("stackAddress: %p, stackSize: %lu\n", stackAddress, stackSize);

Completed in 29 milliseconds