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

/osnet-11/usr/src/lib/libcpc/common/
H A Dlibcpc_impl.h96 rwlock_t cpc_lock; /* Protect various ops */ member in struct:__cpc
H A Dlibcpc.c44 * The library uses the cpc_lock field of the cpc_t struct to protect access to
142 (void) rwlock_init(&cpc->cpc_lock, USYNC_THREAD, NULL);
1189 (void) rw_rdlock(&cpc->cpc_lock);
1197 (void) rw_wrlock(&cpc->cpc_lock);
1204 (void) rw_unlock(&cpc->cpc_lock);

Completed in 37 milliseconds