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