Searched refs:cv (Results 1 – 4 of 4) sorted by relevance
47 static int s_check_and_init_if_static(pthread_cond_t *cv) in s_check_and_init_if_static() argument51 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() argument68 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() argument88 int res = s_check_and_init_if_static(cv); in pthread_cond_broadcast()[all …]
32 pthread_cond_t cv; member73 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()
13 static std::condition_variable cv; variable22 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; variable60 auto status = cv.wait_for(lck, std::chrono::milliseconds(200));
3293 DWORD so, cv, bcl; local3342 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? */