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

Method Event

Lib/multiprocessing/context.py:90–93  ·  view source on GitHub ↗

Returns an event object

(self)

Source from the content-addressed store, hash-verified

88 return BoundedSemaphore(value, ctx=self.get_context())
89
90 def Event(self):
91 '''Returns an event object'''
92 from .synchronize import Event
93 return Event(ctx=self.get_context())
94
95 def Barrier(self, parties, action=None, timeout=None):
96 '''Returns a barrier object'''

Callers 15

__init__Method · 0.80
__init__Method · 0.80
run_one_coroFunction · 0.80
staggered_raceFunction · 0.80
__init__Method · 0.80
__init__Method · 0.80
exportMethod · 0.80
__init__Method · 0.80
reset_mockMethod · 0.80
__get_eventMethod · 0.80
__init__Method · 0.80

Calls 2

get_contextMethod · 0.95
EventClass · 0.70

Tested by 15

__init__Method · 0.64
_shutdown_getMethod · 0.64
_shutdown_putMethod · 0.64
_shutdown_joinMethod · 0.64
_shutdown_put_joinMethod · 0.64
test_syslog_threadedMethod · 0.64
test_current_framesMethod · 0.64
__enter__Method · 0.64