Attributes for a new reader/writer lock. More...
Attributes for a new reader/writer lock.
The options set in this struct will be ignored by pthread_rwlock_init().
Definition at line 30 of file pthread_rwlock_attr.h.
#include <pthread_rwlock_attr.h>
Data Fields | |
int | pshared |
Whether to share lock with child processes. | |
int pthread_rwlockattr_t::pshared |
Whether to share lock with child processes.
Valid values are PTHREAD_PROCESS_SHARED
and PTHREAD_PROCESS_PRIVATE
. Since RIOT is a single-process operating system, this value is ignored.
Definition at line 37 of file pthread_rwlock_attr.h.