Exit Print View
int rw_write_held(krwlock_t *rwlock)
rw_write_held returns non-zero if the specified reader-writer lock is currently held by a writer. If the lock is held only by readers or not held at all, rw_write_held returns zero. Seerw_init(9F).