Home
last modified time | relevance | path

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

/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
Dthreading.py36 _allocate_lock = thread.allocate_lock
/external/python/cpython2/Doc/library/
Dthread.rst82 .. function:: allocate_lock()
147 a_lock = thread.allocate_lock()