FreeBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/rrwlock.c
/*
 * take a read lock even if there are pending write lock requests. if we want
 * to take a lock reentrantly, but from different threads (that have a
 * relationship to each other), the normal detection mechanism to overrule
 * the pending writer does not work, so we have to give an explicit hint here.
 */
take a read lock even if there are pending write lock requests. if we want
to take a lock reentrantly, but from different threads (that have a
relationship to each other), the normal detection mechanism to overrule
the pending writer does not work, so we have to give an explicit hint here.
take a read lock even if there are pending write lock requests . if we want to take a lock reentrantly but from different threads ( that have a relationship to each other ) the normal detection mechanism to overrule the pending writer does not work so we have to give an explicit hint here .
void
rrw_enter_read_prio(rrwlock_t *rrl, void *tag)
{
	rrw_enter_read_impl(rrl, B_TRUE, tag);
}
void rrw_enter_read_prio ( rrwlock_t * rrl , void * tag ) { rrw_enter_read_impl ( rrl , B_TRUE , tag ) ; }
take a read lock even if there are pending write lock requests.
take a read lock even if there are pending write lock requests .