Searched defs:condition (Results 1 - 6 of 6) sorted by relevance

/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
H A DExynos_OSAL_Event.h41 pthread_cond_t condition; member in struct:_Exynos_OSAL_THREADEVENT
/hardware/ti/omap4-aah/domx/mm_osal/src/
H A Dtimm_osal_events.c70 pthread_cond_t condition; member in struct:__anon3423
104 if (SUCCESS != pthread_cond_init(&(plEvent->condition), NULL))
147 if (SUCCESS != pthread_cond_destroy(&(plEvent->condition)))
216 if (SUCCESS != pthread_cond_signal(&plEvent->condition))
244 *A representative sequence for using condition variables is shown below
248 *1) Do work up to the point where a certain condition |1)Do work
254 * for signal from Thread-B. Note that a call to | condition, signal Thread-A.
333 pthread_cond_wait(&(plEvent->condition),
370 condition), &(plEvent->mutex),
/hardware/ti/omap4xxx/domx/mm_osal/src/
H A Dtimm_osal_events.c70 pthread_cond_t condition; member in struct:__anon3543
104 if (SUCCESS != pthread_cond_init(&(plEvent->condition), NULL))
147 if (SUCCESS != pthread_cond_destroy(&(plEvent->condition)))
216 if (SUCCESS != pthread_cond_signal(&plEvent->condition))
244 *A representative sequence for using condition variables is shown below
248 *1) Do work up to the point where a certain condition |1)Do work
254 * for signal from Thread-B. Note that a call to | condition, signal Thread-A.
333 pthread_cond_wait(&(plEvent->condition),
370 condition), &(plEvent->mutex),
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
H A Dvp9_thread.h96 static INLINE int pthread_cond_destroy(pthread_cond_t *const condition) { argument
98 ok &= (CloseHandle(condition->waiting_sem_) != 0);
99 ok &= (CloseHandle(condition->received_sem_) != 0);
100 ok &= (CloseHandle(condition->signal_event_) != 0);
104 static INLINE int pthread_cond_init(pthread_cond_t *const condition, argument
107 condition->waiting_sem_ = CreateSemaphore(NULL, 0, 1, NULL);
108 condition->received_sem_ = CreateSemaphore(NULL, 0, 1, NULL);
109 condition->signal_event_ = CreateEvent(NULL, FALSE, FALSE, NULL);
110 if (condition->waiting_sem_ == NULL ||
111 condition
119 pthread_cond_signal(pthread_cond_t *const condition) argument
132 pthread_cond_wait(pthread_cond_t *const condition, pthread_mutex_t *const mutex) argument
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/src/
H A Dgtest-all.cc804 // This function is useful as an __except condition.
1995 // This function is useful as an __except condition.
2966 // This function should not be called when the condition is
6132 bool IsTrue(bool condition) { return condition; } argument
6136 // This condition is always false so AlwaysTrue() never actually throws,
7022 // first failing condition, in the order given above, is the one that is
7331 // This is as close to the fork as possible to avoid a race condition in case
8113 // There could be a race condition if two or more processes are calling this
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/inc/
H A DOMX_VideoDec_Utils.h626 pthread_cond_t condition; member in struct:VIDDEC_MUTEX
1243 pthread_cond_init (&(_mutex_).condition, NULL);\
1252 pthread_cond_destroy (&(_mutex_).condition); \
1277 (_mutex_).nErrorExist = pthread_cond_signal (&(_mutex_).condition); \
1286 (_mutex_).nErrorExist = pthread_cond_wait (&(_mutex_).condition, &(_mutex_).mutex); \

Completed in 288 milliseconds