Home
last modified time | relevance | path

Searched refs:RLock (Results 1 – 25 of 34) sorted by relevance

12

/third_party/skia/third_party/externals/tint/tools/src/cmd/remote-compile/
Drwmutex.h92 class RLock {
97 explicit inline RLock(RWMutex& mutex);
100 inline ~RLock();
104 inline RLock(RLock&& other);
108 inline RLock& operator=(RLock&& other);
111 RLock(const RLock&) = delete;
112 RLock& operator=(const RLock&) = delete;
117 RLock::RLock(RWMutex& mutex) : m(&mutex) { in RLock() function
121 RLock::~RLock() { in ~RLock()
127 RLock::RLock(RLock&& other) { in RLock() function
[all …]
Dsocket.cc131 RLock l(mutex); in lock()
136 RLock l(mutex); in setOptions()
164 RLock l(mutex); in IsOpen()
176 RLock l(mutex); in Close()
196 RLock lock(mutex); in Read()
206 RLock lock(mutex); in Write()
/third_party/python/Lib/
D_threading_local.py213 impl.locallock = RLock()
242 from threading import current_thread, RLock
Dthreading.py46 _CRLock = _thread.RLock
90 def RLock(*args, **kwargs): function
238 lock = RLock()
782 _active_limbo_lock = RLock()
1592 _active_limbo_lock = RLock()
Dsched.py57 self._lock = threading.RLock()
Dfunctools.py21 from _thread import RLock
536 lock = RLock() # because linkedlist updates aren't threadsafe
950 self.lock = RLock()
Dwebbrowser.py17 _lock = threading.RLock()
/third_party/python/Lib/multiprocessing/
Dsharedctypes.py79 lock = ctx.RLock()
93 lock = ctx.RLock()
188 self._lock = ctx.RLock()
Dcontext.py70 def RLock(self): member in BaseContext
72 from .synchronize import RLock
73 return RLock(ctx=self.get_context())
Dsynchronize.py184 class RLock(SemLock): class
213 self._lock = lock or ctx.RLock()
Dmanagers.py1211 SyncManager.register('RLock', threading.RLock, AcquirerProxy)
/third_party/python/Lib/test/
Dtest_threadsignals.py126 rlock = thread.RLock()
184 self.acquire_retries_on_intr(thread.RLock())
D_test_multiprocessing.py1242 lock = self.RLock()
5744 RLock = staticmethod(multiprocessing.RLock) variable in ProcessesMixin
5762 RLock = property(operator.attrgetter('manager.RLock')) variable in ManagerMixin
5828 RLock = staticmethod(multiprocessing.dummy.RLock) variable in ThreadsMixin
5887 lock = multiprocessing.RLock()
Dtest_contextlib.py356 lock = threading.RLock()
Dtest_threading.py141 mutex = threading.RLock()
Dtest_functools.py2741 self.lock = py_functools.RLock()
2766 self.lock = py_functools.RLock()
/third_party/python/Tools/scripts/
Danalyze_dxp.py34 _profile_lock = threading.RLock()
/third_party/python/Lib/multiprocessing/dummy/
D__init__.py26 from threading import Lock, RLock, Semaphore, BoundedSemaphore
/third_party/python/Doc/library/
Dthreading.rst203 (:meth:`Lock.acquire`, :meth:`RLock.acquire`, :meth:`Condition.wait`, etc.).
540 RLock Objects
549 To lock the lock, a thread calls its :meth:`~RLock.acquire` method; this
559 .. class:: RLock()
566 Note that ``RLock`` is actually a factory function which returns an instance
567 of the most efficient version of the concrete RLock class that is supported
690 or :class:`RLock` object, and it is used as the underlying lock. Otherwise,
691 a new :class:`RLock` object is created and used as the underlying lock.
721 When the underlying lock is an :class:`RLock`, it is not released using
724 interface of the :class:`RLock` class is used, which really unlocks it
[all …]
Dmultiprocessing.rst341 :class:`RLock`, :class:`Semaphore`, :class:`BoundedSemaphore`,
1251 If *lock* is specified then it should be a :class:`Lock` or :class:`RLock`
1314 .. class:: RLock()
1316 A recursive lock object: a close analog of :class:`threading.RLock`. A
1322 Note that :class:`RLock` is actually a factory function which returns an
1323 instance of ``multiprocessing.synchronize.RLock`` initialized with a
1326 :class:`RLock` supports the :term:`context manager` protocol and thus may be
1341 implementation of :meth:`threading.RLock.acquire`, starting with the name
1354 differ from the implemented behaviors in :meth:`threading.RLock.acquire`.
1371 differs from the implemented behavior in :meth:`threading.RLock.release`.
[all …]
Dcontextlib.rst896 :class:`threading.RLock` is an example of a reentrant context manager, as are
939 :class:`threading.RLock` instead).
/third_party/python/Misc/NEWS.d/
D3.10.0b3.rst90 The _thread.RLock type now fully implement the GC protocol: add a traverse
D3.9.0a6.rst670 :class:`_thread.RLock`, :class:`threading.RLock` and
/third_party/python/Lib/logging/
D__init__.py217 _lock = threading.RLock()
906 self.lock = threading.RLock()
/third_party/python/Lib/http/
Dcookiejar.py1271 self._cookies_lock = _threading.RLock()

12