POSIX Thread Priority Inheritance option.
More...
|
| #define | PTHREAD_PRIO_INHERIT 1 |
| | Mutex protocol: owning thread inherits priority of highest-priority waiter.
|
| |
|
| int | pthread_mutexattr_getprotocol (const pthread_mutexattr_t *ZRESTRICT attr, int *ZRESTRICT protocol) |
| | Get the protocol attribute of a mutex attributes object.
|
| |
| int | pthread_mutexattr_setprotocol (pthread_mutexattr_t *attr, int protocol) |
| | Set the protocol attribute of a mutex attributes object.
|
| |
POSIX Thread Priority Inheritance option.
◆ PTHREAD_PRIO_INHERIT
| #define PTHREAD_PRIO_INHERIT 1 |
Mutex protocol: owning thread inherits priority of highest-priority waiter.
Definition at line 73 of file pthread.h.
◆ pthread_mutexattr_getprotocol()
| int pthread_mutexattr_getprotocol |
( |
const pthread_mutexattr_t *ZRESTRICT |
attr, |
|
|
int *ZRESTRICT |
protocol |
|
) |
| |
◆ pthread_mutexattr_setprotocol()
| int pthread_mutexattr_setprotocol |
( |
pthread_mutexattr_t * |
attr, |
|
|
int |
protocol |
|
) |
| |