Lines Matching defs:value
136 cond->value = 0;
146 UINT32 flags = ((UINT32)cond->value & COND_FLAGS_MASK);
150 oldVal = cond->value;
152 if (LOS_AtomicCmpXchg32bits(&cond->value, newVal, oldVal) == 0) {
203 STATIC INT32 PthreadCondWaitSub(pthread_cond_t *cond, INT32 value, UINT32 ticks)
205 EventCond eventCond = { &cond->value, value, ~0x01U };
208 * (1) value is not equal to cond->value, clear the event message and
210 * pthread_cond_signal to modify cond->value and wake up the current thread,
213 * (2) value is equal to cond->value, block the current thread
267 oldValue = cond->value;
315 oldValue = cond->value;