Loading...
Searching...
No Matches
pthread_rwlockattr_t Struct Reference

Attributes for a new reader/writer lock. More...

Detailed Description

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.
 

Field Documentation

◆ pshared

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.


The documentation for this struct was generated from the following file: