Public Member Functions | |
SPINLOCK_DECLARE (lock) | |
Data Fields | |
mutex_t | exclusive |
count_t | readers_in |
Definition at line 50 of file rwlock.h.
|
|
|
Mutex for writers, readers can bypass it if readers_in is positive. Definition at line 52 of file rwlock.h. Referenced by _rwlock_read_lock_timeout(), _rwlock_write_lock_timeout(), let_others_in(), and rwlock_initialize(). |
|
Number of readers in critical section. Definition at line 53 of file rwlock.h. Referenced by _rwlock_read_lock_timeout(), _rwlock_write_lock_timeout(), let_others_in(), rwlock_initialize(), and rwlock_read_unlock(). |