Home
last modified time | relevance | path

Searched refs:_cond (Results 1 - 15 of 15) sorted by relevance

/third_party/python/Lib/
H A Dthreading.py425 self._cond = Condition(Lock())
461 with self._cond:
472 self._cond.wait(timeout)
489 with self._cond:
492 self._cond.notify()
536 with self._cond:
541 self._cond.notify()
556 self._cond = Condition(Lock())
566 self._cond._at_fork_reinit()
590 with self._cond
[all...]
/third_party/python/Lib/asyncio/
H A Dlocks.py460 self._cond = Condition() # notify all tasks when state changes
488 async with self._cond:
510 await self._cond.wait_for(
526 self._cond.notify_all()
534 await self._cond.wait_for(lambda: self._state is not _BarrierState.FILLING)
545 self._cond.notify_all()
553 async with self._cond:
560 self._cond.notify_all()
568 async with self._cond:
570 self._cond
[all...]
/third_party/mesa3d/src/gallium/tests/unit/
H A Dpipe_barrier_test.c63 #define CHECK(_cond) \
64 if (!(_cond)) { \
65 fprintf(stderr, "%s:%u: `%s` failed\n", __FILE__, __LINE__, #_cond); \
/third_party/python/Lib/multiprocessing/
H A Dsynchronize.py324 self._cond = ctx.Condition(ctx.Lock())
328 with self._cond:
335 with self._cond:
338 self._cond.notify_all()
341 with self._cond:
345 with self._cond:
349 self._cond.wait(timeout)
376 self._cond, self._wrapper) = state
381 self._cond, self._wrapper)
H A Dqueues.py299 self._cond = ctx.Condition()
302 return Queue.__getstate__(self) + (self._cond, self._unfinished_tasks)
306 self._cond, self._unfinished_tasks = state[-2:]
314 with self._notempty, self._cond:
322 with self._cond:
326 self._cond.notify_all()
329 with self._cond:
331 self._cond.wait()
H A Dpool.py841 self._cond = threading.Condition(threading.Lock())
854 with self._cond:
861 self._cond.wait(timeout)
878 with self._cond:
886 self._cond.notify()
895 with self._cond:
898 self._cond.notify()
909 with self._cond:
912 self._cond.notify()
/third_party/python/Lib/test/
H A Dtest_sched.py15 self._cond = threading.Condition()
20 with self._cond:
26 with self._cond:
30 self._cond.wait()
36 with self._cond:
38 self._cond.notify_all()
H A Dlock_tests.py452 with evt._cond:
453 self.assertFalse(evt._cond.acquire(False))
455 with evt._cond:
456 self.assertFalse(evt._cond.acquire(False))
/third_party/lzma/C/
H A DThreads.c355 RINOK(pthread_cond_init(&p->_cond, NULL)) in Event_Create()
376 int res1 = pthread_cond_broadcast(&p->_cond); in Event_Set()
395 pthread_cond_wait(&p->_cond, &p->_mutex); in Event_Wait()
412 int res2 = pthread_cond_destroy(&p->_cond); in Event_Close()
423 RINOK(pthread_cond_init(&p->_cond, NULL)) in Semaphore_Create()
467 ret = pthread_cond_broadcast(&p->_cond); in Semaphore_ReleaseN()
478 pthread_cond_wait(&p->_cond, &p->_mutex); in Semaphore_Wait()
491 int res2 = pthread_cond_destroy(&p->_cond); in Semaphore_Close()
H A DThreads.h182 pthread_cond_t _cond; member
208 pthread_cond_t _cond; member
/third_party/lzma/CPP/Windows/
H A DSynchronization.h214 pthread_cond_t _cond; member in NWindows::NSynchronization::MY_UNCOPYABLE
224 ::pthread_cond_destroy(&_cond); in ~CSynchro()
231 const WRes ret = ::pthread_cond_init(&_cond, NULL); in Create()
245 return ::pthread_cond_wait(&_cond, &_mutex); in WaitCond()
249 const WRes res1 = ::pthread_cond_broadcast(&_cond); in LeaveAndSignal()
/third_party/node/deps/openssl/openssl/crypto/bio/
H A Dbio_addr.c434 # define _cond bai->bai_family != AF_UNIX in BIO_ADDRINFO_free() macro
436 # define _cond 1 in BIO_ADDRINFO_free()
438 if (_cond) { in BIO_ADDRINFO_free()
/third_party/openssl/crypto/bio/
H A Dbio_addr.c434 # define _cond bai->bai_family != AF_UNIX in BIO_ADDRINFO_free() macro
436 # define _cond 1 in BIO_ADDRINFO_free()
438 if (_cond) { in BIO_ADDRINFO_free()
/third_party/mbedtls/tests/scripts/
H A Dgenerate_test_code.py834 _cond = dependency.group(2) if dependency.group(2) else ''
840 #if {_not}{_defined}({macro}{_cond}{_value})
848 _cond=_cond, _value=_value)
/third_party/ltp/tools/sparse/sparse-src/
H A Dlinearize.h107 pseudo_t _cond; member

Completed in 13 milliseconds