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.py15 _print_mutex = thread.allocate_lock()
26 self.done_mutex = thread.allocate_lock()
28 self.running_mutex = thread.allocate_lock()
29 self.random_mutex = thread.allocate_lock()
104 mut = thread.allocate_lock()
139 started = thread.allocate_lock()
155 self.checkin_mutex = thread.allocate_lock()
156 self.checkout_mutex = thread.allocate_lock()
213 locktype = thread.allocate_lock
Dtest_threadsignals.py15 signalled_all=thread.allocate_lock()
87 lock = thread.allocate_lock()
162 self.acquire_retries_on_intr(thread.allocate_lock())
178 done = thread.allocate_lock()
180 lock = thread.allocate_lock()
Dtest_dummy_thread.py17 self.lock = _thread.allocate_lock()
118 self.assertIsInstance(_thread.allocate_lock(), _thread.LockType,
Dtest_threading.py545 started = _thread.allocate_lock()
546 finish = _thread.allocate_lock()
579 started = _thread.allocate_lock()
580 finish = _thread.allocate_lock()
/external/python/cpython2/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()
106 mut = thread.allocate_lock()
141 started = thread.allocate_lock()
157 self.checkin_mutex = thread.allocate_lock()
158 self.checkout_mutex = thread.allocate_lock()
216 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/libmojo/third_party/jinja2/
D_compat.py145 from thread import allocate_lock
148 from threading import Lock as allocate_lock unknown
150 from dummy_thread import allocate_lock
Dutils.py15 allocate_lock, url_quote
312 self._wlock = 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
/external/python/cpython3/Lib/
D_dummy_thread.py74 def allocate_lock(): function
D_strptime.py23 from _thread import allocate_lock as _thread_allocate_lock
25 from _dummy_thread import allocate_lock as _thread_allocate_lock
Dtempfile.py52 _allocate_lock = _thread.allocate_lock
Dthreading.py33 _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.rst78 .. function:: allocate_lock()
165 a_lock = _thread.allocate_lock()
/external/python/cpython3/Lib/importlib/
D_bootstrap.py58 self.lock = _thread.allocate_lock()
59 self.wakeup = _thread.allocate_lock()

12