Home
last modified time | relevance | path

Searched refs:_is_owned (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/
Dthreading.py218 def _is_owned(self): member in _RLock
255 self._is_owned = lock._is_owned
279 def _is_owned(self): member in Condition
311 if not self._is_owned():
369 if not self._is_owned():
/third_party/python/Lib/test/
Dlock_tests.py348 self.assertFalse(lock._is_owned())
350 self.assertTrue(lock._is_owned())
352 self.assertTrue(lock._is_owned())
355 result.append(lock._is_owned())
359 self.assertTrue(lock._is_owned())
361 self.assertFalse(lock._is_owned())
Dtest_contextlib.py357 self.boilerPlate(lock, lock._is_owned)
362 return lock._is_owned()