Home
last modified time | relevance | path

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

12

/external/python/cffi/cffi/
Dlock.py5 from thread import allocate_lock
7 from dummy_thread import allocate_lock
10 from _thread import allocate_lock
12 from _dummy_thread import allocate_lock
Dapi.py2 from .lock import allocate_lock
67 self._lock = allocate_lock()
734 x = self._init_once_cache.setdefault(tag, (False, allocate_lock()))
Dmodel.py4 from .lock import allocate_lock
572 global_lock = 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/cpython3/Lib/test/
Dtest_thread.py15 _print_mutex = thread.allocate_lock()
27 self.done_mutex = thread.allocate_lock()
29 self.running_mutex = thread.allocate_lock()
30 self.random_mutex = thread.allocate_lock()
110 mut = thread.allocate_lock()
141 started = thread.allocate_lock()
159 self.checkin_mutex = thread.allocate_lock()
160 self.checkout_mutex = thread.allocate_lock()
218 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_threading.py649 started = _thread.allocate_lock()
650 finish = _thread.allocate_lock()
684 started = _thread.allocate_lock()
685 finish = _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/cpython2/Doc/library/
Dthread.rst82 .. function:: allocate_lock()
147 a_lock = thread.allocate_lock()
/external/python/cpython3/Doc/library/
D_thread.rst88 .. function:: allocate_lock()
188 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/cpython3/Lib/
D_strptime.py22 from _thread import allocate_lock as _thread_allocate_lock
Dtempfile.py50 _allocate_lock = _thread.allocate_lock
/external/python/dateutil/dateutil/tz/
Dtz.py1169 self._cache_lock = _thread.allocate_lock()
1544 self._cache_lock = _thread.allocate_lock()

12