Home
last modified time | relevance | path

Searched refs:is_set (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dthread_os2.h88 int is_set; member
115 lock->is_set = 0; in PyThread_allocate_lock()
179 if (lock->is_set) { in PyThread_acquire_lock()
191 if (!lock->is_set) { in PyThread_acquire_lock()
192 lock->is_set = 1; in PyThread_acquire_lock()
219 if (!lock->is_set) { in PyThread_release_lock()
235 lock->is_set = 0; in PyThread_release_lock()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dlock_tests.py244 self.assertFalse(evt.is_set())
246 self.assertTrue(evt.is_set())
248 self.assertTrue(evt.is_set())
250 self.assertFalse(evt.is_set())
252 self.assertFalse(evt.is_set())
Dtest_queue.py51 if not self.t.startedEvent.is_set():
78 if not self.t.startedEvent.is_set():
Dtest_capi.py45 if context and not context.event.is_set():
Dtest_smtplib.py121 if client_evt.is_set():
130 if not client_evt.is_set():
Dtest_multiprocessing.py785 self.assertEqual(event.is_set(), False)
797 self.assertEqual(event.is_set(), True)
Dtest_socket.py134 if not self.server_ready.is_set():