Searched refs:NSI_SAFE_CALL (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/scripts/native_simulator/common/src/ |
D | nce.c | 68 NSI_SAFE_CALL(pthread_cond_init(&this->cond_cpu, NULL)); in nce_init() 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() 112 NSI_SAFE_CALL(pthread_cond_broadcast(&this->cond_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() 146 NSI_SAFE_CALL(pthread_cond_broadcast(&this->cond_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() [all …]
|
D | nsi_hw_scheduler.c | 66 NSI_SAFE_CALL(sigemptyset(&act.sa_mask)); in nsi_hws_set_sig_handler() 70 NSI_SAFE_CALL(sigaction(SIGTERM, &act, NULL)); in nsi_hws_set_sig_handler() 71 NSI_SAFE_CALL(sigaction(SIGINT, &act, NULL)); in nsi_hws_set_sig_handler()
|
D | nct.c | 209 NSI_SAFE_CALL(pthread_cond_broadcast(&this->cond_threads)); in nct_let_run() 220 NSI_SAFE_CALL(pthread_mutex_unlock(&this->mtx_threads)); in nct_exit_and_cleanup() 314 NSI_SAFE_CALL(pthread_mutex_unlock(&this->mtx_threads)); in nct_cleanup_handler() 341 NSI_SAFE_CALL(pthread_mutex_lock(&this->mtx_threads)); in nct_thread_starter() 476 NSI_SAFE_CALL(pthread_create(&tt_el->thread, in nct_new_thread() 521 NSI_SAFE_CALL(pthread_cond_init(&this->cond_threads, NULL)); in nct_init() 522 NSI_SAFE_CALL(pthread_mutex_init(&this->mtx_threads, NULL)); in nct_init() 537 NSI_SAFE_CALL(pthread_mutex_lock(&this->mtx_threads)); in nct_init()
|
D | nsi_safe_call.h | 21 #define NSI_SAFE_CALL(a) nsi_safe_call(a, #a) macro
|