Home
last modified time | relevance | path

Searched refs:allocate_lock (Results 1 – 25 of 27) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_thread.py16 _print_mutex = thread.allocate_lock()
28 self.done_mutex = thread.allocate_lock()
30 self.running_mutex = thread.allocate_lock()
31 self.random_mutex = thread.allocate_lock()
111 mut = thread.allocate_lock()
148 started = thread.allocate_lock()
163 self.checkin_mutex = thread.allocate_lock()
164 self.checkout_mutex = thread.allocate_lock()
222 locktype = thread.allocate_lock
Dtest_threadsignals.py15 signalled_all=thread.allocate_lock()
95 lock = thread.allocate_lock()
181 self.acquire_retries_on_intr(thread.allocate_lock())
197 done = thread.allocate_lock()
199 lock = thread.allocate_lock()
Dtest_dummy_thread.py17 self.lock = _thread.allocate_lock()
117 self.assertIsInstance(_thread.allocate_lock(), _thread.LockType,
Dtest_threading.py582 started = _thread.allocate_lock()
583 finish = _thread.allocate_lock()
617 started = _thread.allocate_lock()
618 finish = _thread.allocate_lock()
/external/python/cpython2/Lib/test/
Dtest_thread.py16 _print_mutex = thread.allocate_lock()
29 self.done_mutex = thread.allocate_lock()
31 self.running_mutex = thread.allocate_lock()
32 self.random_mutex = thread.allocate_lock()
112 mut = thread.allocate_lock()
150 started = thread.allocate_lock()
165 self.checkin_mutex = thread.allocate_lock()
166 self.checkout_mutex = thread.allocate_lock()
225 locktype = thread.allocate_lock
Dtest_threaded_import.py12 critical_section = thread.allocate_lock()
13 done = thread.allocate_lock()
Dtest_dummy_thread.py23 self.lock = _thread.allocate_lock()
102 self.assertIsInstance(_thread.allocate_lock(), _thread.LockType,
Dtest_threadsignals.py14 signalled_all=thread.allocate_lock()
/external/python/cpython2/Demo/threads/
Dsync.py277 self.mutex = thread.allocate_lock()
287 self.checkout = thread.allocate_lock()
291 self.idlock = thread.allocate_lock()
429 self.rwOK = thread.allocate_lock()
573 tid = thread.allocate_lock() # for changing TID
574 io = thread.allocate_lock() # for printing, and 'alive'
575 wh = thread.allocate_lock() # for calls to random
DGenerator.py12 self.getlock = thread.allocate_lock()
13 self.putlock = thread.allocate_lock()
/external/python/cpython2/Demo/metaclasses/
DSynch.py44 self.__mutex = thread.allocate_lock()
45 self.__wait = thread.allocate_lock()
240 pwait = thread.allocate_lock()
242 cwait = thread.allocate_lock()
/external/python/cpython2/Lib/
Ddummy_thread.py71 def allocate_lock(): function
D_strptime.py21 from thread import allocate_lock as _thread_allocate_lock
23 from dummy_thread import allocate_lock as _thread_allocate_lock
Dmimetools.py111 _counter_lock = thread.allocate_lock()
Dtempfile.py63 _allocate_lock = _thread.allocate_lock
D_pyio.py15 from thread import allocate_lock as Lock
17 from dummy_thread import allocate_lock as Lock
Dthreading.py36 _allocate_lock = thread.allocate_lock
/external/python/cpython3/Lib/
D_dummy_thread.py74 def allocate_lock(): function
D_strptime.py22 from _thread import allocate_lock as _thread_allocate_lock
Dtempfile.py48 _allocate_lock = _thread.allocate_lock
Dthreading.py34 _allocate_lock = _thread.allocate_lock
/external/python/cpython2/Doc/library/
Dthread.rst82 .. function:: allocate_lock()
147 a_lock = thread.allocate_lock()
/external/python/cpython3/Doc/library/
D_thread.rst74 .. function:: allocate_lock()
162 a_lock = _thread.allocate_lock()
/external/python/cpython3/Lib/importlib/
D_bootstrap.py59 self.lock = _thread.allocate_lock()
60 self.wakeup = _thread.allocate_lock()
/external/python/dateutil/dateutil/tz/
Dtz.py1107 self._cache_lock = _thread.allocate_lock()
1410 self._cache_lock = _thread.allocate_lock()

12