MCPcopy Index your code
hub / github.com/python/cpython / RLock

Method RLock

Lib/multiprocessing/context.py:70–73  ·  view source on GitHub ↗

Returns a recursive lock object

(self)

Source from the content-addressed store, hash-verified

68 return Lock(ctx=self.get_context())
69
70 def RLock(self):
71 '''Returns a recursive lock object'''
72 from .synchronize import RLock
73 return RLock(ctx=self.get_context())
74
75 def Condition(self, lock=None):
76 '''Returns a condition object'''

Callers 15

webbrowser.pyFile · 0.80
_py_warnings.pyFile · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__.pyFile · 0.80
__init__Method · 0.80
__init__.pyFile · 0.80
createLockMethod · 0.80
__init__Method · 0.80
test_repr_rlockMethod · 0.80

Calls 2

get_contextMethod · 0.95
RLockClass · 0.70

Tested by 11

__init__Method · 0.64
test_repr_rlockMethod · 0.64
test_rlockMethod · 0.64
test_rlock_contextMethod · 0.64
setUpModuleFunction · 0.64
test_various_opsMethod · 0.64
test_signatureMethod · 0.64
testWithRLockMethod · 0.64