StructsΒ§
- PthreadCondvar π
- PthreadMutex π
- PthreadRwLock π
EnumsΒ§
- MutexKind π
- The mutex kind.
ConstantsΒ§
- PTHREAD_MUTEX_ πKIND_ UNCHANGED 
- To differentiate βthe mutex kind has not been changedβ from βthe mutex kind has been set to PTHREAD_MUTEX_DEFAULT and that is equal to some other mutex kindβ, we make the default value of this field not PTHREAD_MUTEX_DEFAULT but this special flag.
TraitsΒ§
FunctionsΒ§
- bytewise_equal_ πatomic_ relaxed 
- Do a bytewise comparison of the two places, using relaxed atomic reads. This is used to check if a synchronization primitive matches its static initializer value.
- cond_create π
- cond_get_ πdata 
- cond_init_ πoffset 
- condattr_clock_ πoffset 
- condattr_get_ πclock_ id 
- condattr_set_ πclock_ id 
- mutex_create π
- Eagerly create and initialize a new mutex.
- mutex_get_ πdata 
- Returns the mutex data stored at the address that mutex_ptrpoints to. Will raise an error if the mutex has been moved since its first use.
- mutex_init_ πoffset 
- To ensure an initialized mutex that was moved somewhere else can be distinguished from
a statically initialized mutex that is used the first time, we pick some offset within
pthread_mutex_tand use it as an βinitializedβ flag.
- mutex_kind_ πfrom_ static_ initializer 
- Returns the kind of a static initializer.
- mutexattr_get_ πkind 
- mutexattr_kind_ πoffset 
- mutexattr_set_ πkind 
- mutexattr_translate_ πkind 
- Translates the mutex kind from what is stored in pthread_mutexattr_t to our enum.
- rwlock_get_ πdata 
- rwlock_init_ πoffset