P99

◆ P99_WRLOCK

#define P99_WRLOCK (   RWLOCK)
Value:
P99_FILEID(rwlock), \
&(RWLOCK), \

Definition at line 271 of file p99_rwl.h.

p99_rwl::p99_rwl_wrlock
int p99_rwl_wrlock(p99_rwl volatile *p00_r)
establish an exclusive lock for rwlock p00_r.
Definition: p99_rwl.h:157
P99_GUARDED_BLOCK
#define P99_GUARDED_BLOCK(T, NAME, INITIAL, BEFORE, AFTER)
A meta-macro to protect a dependent block or statement by a guard variable NAME of type T.
Definition: p99_block.h:269
p99_rwl::p99_rwl_unlock
int p99_rwl_unlock(p99_rwl volatile *p00_r)
release a lock on rwlock p00_r.
Definition: p99_rwl.h:179
P99_FILEID
#define P99_FILEID(...)
An identifier token that identifies different times of inclusion of the file "p99_id....
Definition: p99_id.h:116
p99_rwl
A simple rwlock implementation.
Definition: p99_rwl.h:66