POSIX Threads Extensions option group.
More...
POSIX Threads Extensions option group.
◆ PTHREAD_MUTEX_DEFAULT
| #define PTHREAD_MUTEX_DEFAULT 3 |
Default mutex type; behaviour on deadlock/unlock-by-non-owner is undefined.
Definition at line 58 of file pthread.h.
◆ PTHREAD_MUTEX_ERRORCHECK
| #define PTHREAD_MUTEX_ERRORCHECK 2 |
Mutex that returns an error on deadlock or unlock by a non-owner.
Definition at line 60 of file pthread.h.
◆ PTHREAD_MUTEX_NORMAL
| #define PTHREAD_MUTEX_NORMAL 0 |
Non-recursive mutex with no error checks (fastest).
Definition at line 62 of file pthread.h.
◆ PTHREAD_MUTEX_RECURSIVE
| #define PTHREAD_MUTEX_RECURSIVE 1 |
Recursive mutex; the owning thread may lock it multiple times.
Definition at line 64 of file pthread.h.
◆ pthread_attr_getguardsize()
| int pthread_attr_getguardsize |
( |
const pthread_attr_t *ZRESTRICT |
attr, |
|
|
size_t *ZRESTRICT |
guardsize |
|
) |
| |
◆ pthread_attr_setguardsize()
| int pthread_attr_setguardsize |
( |
pthread_attr_t * |
attr, |
|
|
size_t |
guardsize |
|
) |
| |
◆ pthread_mutexattr_gettype()
| int pthread_mutexattr_gettype |
( |
const pthread_mutexattr_t *ZRESTRICT |
attr, |
|
|
int *ZRESTRICT |
type |
|
) |
| |
◆ pthread_mutexattr_settype()
| int pthread_mutexattr_settype |
( |
pthread_mutexattr_t * |
attr, |
|
|
int |
type |
|
) |
| |