MCPcopy Index your code
hub / github.com/RustPython/RustPython / __init__

Method __init__

Lib/multiprocessing/synchronize.py:330–332  ·  view source on GitHub ↗
(self, *, ctx)

Source from the content-addressed store, hash-verified

328class Event(object):
329
330 def __init__(self, *, ctx):
331 self._cond = ctx.Condition(ctx.Lock())
332 self._flag = ctx.Semaphore(0)
333
334 def is_set(self):
335 with self._cond:

Callers

nothing calls this directly

Calls 3

LockMethod · 0.80
SemaphoreMethod · 0.80
ConditionMethod · 0.45

Tested by

no test coverage detected