Searched refs:_sem (Results 1 – 1 of 1) sorted by relevance
10 sem_id _sem; member24 ben->_sem = create_sem( 0, name ); in benaphore_create()26 if( ben->_sem < B_NO_ERROR ) { in benaphore_create()38 if( ben->_sem >= B_NO_ERROR ) { in benaphore_destroy()42 status_t del_retval = delete_sem( ben->_sem ); in benaphore_destroy()56 return acquire_sem( ben->_sem ); in benaphore_lock()67 status_t retval = acquire_sem_etc( ben->_sem, 1, B_TIMEOUT, micros ); in benaphore_timedlock()91 return release_sem( ben->_sem ); in benaphore_unlock()