Searched refs:cv (Results 1 – 2 of 2) sorted by relevance
31 static inline size_t posix_cond_to_offset(struct k_condvar *cv) in posix_cond_to_offset() argument33 return cv - posix_cond_pool; in posix_cond_to_offset()70 struct k_condvar *cv; in to_posix_cond() local85 cv = &posix_cond_pool[bit]; in to_posix_cond()87 return cv; in to_posix_cond()94 struct k_condvar *cv; in cond_wait() local97 cv = to_posix_cond(cond); in cond_wait()98 if (cv == NULL || m == NULL) { in cond_wait()102 LOG_DBG("Waiting on cond %p with timeout %llx", cv, timeout.ticks); in cond_wait()103 ret = k_condvar_wait(cv, m, timeout); in cond_wait()[all …]
72 int pthread_cond_init(pthread_cond_t *cv, const pthread_condattr_t *att);79 int pthread_cond_destroy(pthread_cond_t *cv);86 int pthread_cond_signal(pthread_cond_t *cv);93 int pthread_cond_broadcast(pthread_cond_t *cv);100 int pthread_cond_wait(pthread_cond_t *cv, pthread_mutex_t *mut);107 int pthread_cond_timedwait(pthread_cond_t *cv, pthread_mutex_t *mut,