Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/pthread/
Dpthread_cond_var.c47 static int s_check_and_init_if_static(pthread_cond_t *cv) in s_check_and_init_if_static() argument
51 if (cv == NULL || *cv == (pthread_cond_t) 0) { in s_check_and_init_if_static()
55 if (*cv == PTHREAD_COND_INITIALIZER) { in s_check_and_init_if_static()
57 if (*cv == PTHREAD_COND_INITIALIZER) { in s_check_and_init_if_static()
58 res = pthread_cond_init(cv, NULL); in s_check_and_init_if_static()
66 int pthread_cond_signal(pthread_cond_t *cv) in pthread_cond_signal() argument
68 int res = s_check_and_init_if_static(cv); in pthread_cond_signal()
73 esp_pthread_cond_t *cond = (esp_pthread_cond_t *) *cv; in pthread_cond_signal()
86 int pthread_cond_broadcast(pthread_cond_t *cv) in pthread_cond_broadcast() argument
88 int res = s_check_and_init_if_static(cv); in pthread_cond_broadcast()
[all …]
Dpthread_rwlock.c32 pthread_cond_t cv; member
73 result = pthread_cond_init(&esp_rwlock->cv, NULL); in pthread_rwlock_init()
130 pthread_cond_destroy(&esp_rwlock->cv); in pthread_rwlock_destroy()
181 pthread_cond_wait(&esp_rwlock->cv, &esp_rwlock->resource_mutex); in pthread_rwlock_rdlock()
212 pthread_cond_wait(&esp_rwlock->cv, &esp_rwlock->resource_mutex); in pthread_rwlock_wrlock()
244 pthread_cond_broadcast(&esp_rwlock->cv); in pthread_rwlock_unlock()
249 pthread_cond_broadcast(&esp_rwlock->cv); in pthread_rwlock_unlock()
/hal_espressif-3.6.0/components/pthread/test/
Dtest_cxx_cond_var.cpp13 static std::condition_variable cv; variable
22 if(cv.wait_until(lk, now + std::chrono::milliseconds(timeout_ms), [](){return i == 1;})) in waits()
32 cv.notify_all(); in signals()
36 cv.notify_all(); in signals()
54 std::condition_variable cv; variable
60 auto status = cv.wait_for(lck, std::chrono::milliseconds(200));
/hal_espressif-3.6.0/components/fatfs/src/
Dff.c3293 DWORD so, cv, bcl; local
3342 cv = ld_dword(fs->win + bcl % (SS(fs) / 4) * 4);
3343 if (cv == 0xFFFFFFFF) break; /* Last link? */
3344 if (cv != ++bcl) return FR_NO_FILESYSTEM; /* Fragmented? */