FreeBSD ZFS
The Zettabyte File System
|
A reader-writer lock implementation that allows re-entrant reads, but still gives writers priority on "new" reads. More...
#include <rrwlock.h>
Data Fields | |
kmutex_t | rr_lock |
kcondvar_t | rr_cv |
kthread_t * | rr_writer |
refcount_t | rr_anon_rcount |
refcount_t | rr_linked_rcount |
boolean_t | rr_writer_wanted |
A reader-writer lock implementation that allows re-entrant reads, but still gives writers priority on "new" reads.
See rrwlock.c for more details about the implementation.
Fields of the rrwlock_t structure:
kcondvar_t rrwlock::rr_cv |
kmutex_t rrwlock::rr_lock |
kthread_t* rrwlock::rr_writer |
boolean_t rrwlock::rr_writer_wanted |