Searched refs:is_set (Results 1 – 7 of 7) sorted by relevance
88 int is_set; member115 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()
244 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())
51 if not self.t.startedEvent.is_set():78 if not self.t.startedEvent.is_set():
45 if context and not context.event.is_set():
121 if client_evt.is_set():130 if not client_evt.is_set():
785 self.assertEqual(event.is_set(), False)797 self.assertEqual(event.is_set(), True)
134 if not self.server_ready.is_set():