Searched refs:ctlrwlk (Results 1 – 1 of 1) sorted by relevance
95 pthread_rwlock_t *ctlrwlk; /**< Methods RW lock */ member120 int rci = impl->ctlrwlk ? pthread_rwlock_wrlock(impl->ctlrwlk) : 0; in _fsm_ctrl_wlock()125 int rci = impl->ctlrwlk ? pthread_rwlock_rdlock(impl->ctlrwlk) : 0; in _fsm_ctrl_rlock()130 int rci = impl->ctlrwlk ? pthread_rwlock_unlock(impl->ctlrwlk) : 0; in _fsm_ctrl_unlock()1244 impl->ctlrwlk = 0; in _fsm_init_locks()1247 impl->ctlrwlk = calloc(1, sizeof(*impl->ctlrwlk)); in _fsm_init_locks()1248 if (!impl->ctlrwlk) { in _fsm_init_locks()1251 int rci = pthread_rwlock_init(impl->ctlrwlk, 0); in _fsm_init_locks()1253 free(impl->ctlrwlk); in _fsm_init_locks()1254 impl->ctlrwlk = 0; in _fsm_init_locks()[all …]