Searched refs:ptree_rwlock (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libpicltree/
H A Dpicltree.c39 * The reader/writer lock, ptree_rwlock, is held when reading or modifying ptree
58 * The structure of the PICL tree is controlled by the ptree_rwlock. The
65 * The ptree_rwlock and node locks are always acquired in the following order:
66 * lock ptree_rwlock
71 * ptree_rwlock: a reader lock is obtained to do ptree hash table
141 static rwlock_t ptree_rwlock; /* PICL tree lock */ variable
681 (void) rw_wrlock(&ptree_rwlock);
683 (void) rw_unlock(&ptree_rwlock);
900 (void) rw_rdlock(&ptree_rwlock);
906 (void) rw_unlock(&ptree_rwlock);
[all...]

Completed in 79 milliseconds