P99
Data Fields | Related Functions

#include <p99_cm.h>

Data Fields

size_t waiters
 

Related Functions

(Note that these are not member functions.)

void p99_cm_destroy (p99_cm *p00_cm)
 destroy a cm More...
 
p99_cmp99_cm_init (p99_cm *p00_cm)
 Initialize a cm. More...
 
void p99_cm_lock (p99_cm volatile *p00_cm)
 Acquire p00_cm. More...
 
bool p99_cm_trylock (p99_cm volatile *p00_cm)
 Acquire p00_cm. More...
 
void p99_cm_unlock (p99_cm volatile *p00_cm)
 Unconditionally unlock p00_cm and wake up a waiter, if any. More...
 
void p99_cm_wait (p99_cm volatile *p00_cm)
 Wait until another thread successfully locks and unlocks p00_cm. More...
 

Detailed Description

Definition at line 65 of file p99_cm.h.


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