Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 4 of 4) sorted by relevance

/lib/libc/posix/
Dpthread.c326 pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr) in pthread_cond_init() argument
338 *cond = cnd; in pthread_cond_init()
344 pthread_cond_destroy(pthread_cond_t *cond) in pthread_cond_destroy() argument
346 struct pthread_cond *cnd = *cond; in pthread_cond_destroy()
348 *cond = NULL; in pthread_cond_destroy()
355 pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) in pthread_cond_wait() argument
361 if (*cond == NULL) { in pthread_cond_wait()
362 status = pthread_cond_init(cond, NULL); in pthread_cond_wait()
366 cnd = *cond; in pthread_cond_wait()
393 pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, in pthread_cond_timedwait() argument
[all …]
/include/
Dpthread.h55 int pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr);
56 int pthread_cond_destroy(pthread_cond_t *cond);
57 int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex);
58 int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
60 int pthread_cond_signal(pthread_cond_t *cond);
61 int pthread_cond_broadcast(pthread_cond_t *cond);
/lib/liblwip/src/arch/
Dsys_arch.c87 pthread_cond_t cond; member
105 static u32_t cond_wait(pthread_cond_t * cond, pthread_mutex_t * mutex,
357 pthread_cond_init(&(sem->cond), NULL); in sys_sem_new_internal()
375 cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex, u32_t timeout) in cond_wait() argument
394 retval = pthread_cond_timedwait(cond, mutex, &ts); in cond_wait()
410 pthread_cond_wait(cond, mutex); in cond_wait()
426 time_needed = cond_wait(&(sem->cond), &(sem->mutex), timeout); in sys_arch_sem_wait()
435 cond_wait(&(sem->cond), &(sem->mutex), 0); in sys_arch_sem_wait()
457 pthread_cond_broadcast(&(sem->cond)); in sys_sem_signal()
464 pthread_cond_destroy(&(sem->cond)); in sys_sem_free_internal()
/docs/
DDoxyfile740 # sections, marked by \if <section_label> ... \endif and \cond <section_label>