Lines Matching refs:mtx_cpu
30 pthread_mutex_t mtx_cpu; member
69 NSI_SAFE_CALL(pthread_mutex_init(&this->mtx_cpu, NULL)); in nce_init()
108 NSI_SAFE_CALL(pthread_mutex_lock(&this->mtx_cpu)); in nce_terminate()
113 NSI_SAFE_CALL(pthread_mutex_unlock(&this->mtx_cpu)); in nce_terminate()
139 NSI_SAFE_CALL(pthread_mutex_lock(&this->mtx_cpu)); in change_cpu_state_and_wait()
158 pthread_cond_wait(&this->cond_cpu, &this->mtx_cpu); in change_cpu_state_and_wait()
163 NSI_SAFE_CALL(pthread_mutex_unlock(&this->mtx_cpu)); in change_cpu_state_and_wait()
174 NSI_SAFE_CALL(pthread_mutex_lock(&this->mtx_cpu)); in sw_wrapper()
175 NSI_SAFE_CALL(pthread_mutex_unlock(&this->mtx_cpu)); in sw_wrapper()
201 NSI_SAFE_CALL(pthread_mutex_lock(&this->mtx_cpu)); in nce_boot_cpu()
213 pthread_cond_wait(&this->cond_cpu, &this->mtx_cpu); in nce_boot_cpu()
215 NSI_SAFE_CALL(pthread_mutex_unlock(&this->mtx_cpu)); in nce_boot_cpu()