![]() |
posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
|
POSIX Thread Stack Address Attribute option. More...
Functions | |
| int | pthread_attr_getstack (const pthread_attr_t *ZRESTRICT attr, void **ZRESTRICT stackaddr, size_t *ZRESTRICT stacksize) |
| Get the stack address and size attributes of a thread attributes object. | |
| int | pthread_attr_setstack (pthread_attr_t *attr, void *stackaddr, size_t stacksize) |
| Set the stack address and size attributes of a thread attributes object. | |
POSIX Thread Stack Address Attribute option.
| int pthread_attr_getstack | ( | const pthread_attr_t *ZRESTRICT | attr, |
| void **ZRESTRICT | stackaddr, | ||
| size_t *ZRESTRICT | stacksize | ||
| ) |
Get the stack address and size attributes of a thread attributes object.
| attr | Thread attributes object. |
| stackaddr | Output: stack base address. |
| stacksize | Output: stack size in bytes. |
| int pthread_attr_setstack | ( | pthread_attr_t * | attr, |
| void * | stackaddr, | ||
| size_t | stacksize | ||
| ) |
Set the stack address and size attributes of a thread attributes object.
| attr | Thread attributes object. |
| stackaddr | Stack base address. |
| stacksize | Stack size in bytes (>= PTHREAD_STACK_MIN). |