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

Method f

Lib/test/lock_tests.py:436–442  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

434 phase = []
435
436 def f():
437 lock.acquire()
438 phase.append(None)
439
440 self.wait_phase(phase, 2)
441 lock.release()
442 phase.append(None)
443
444 with threading_helper.wait_threads_exit():
445 # Thread blocked on lock.acquire()

Callers

nothing calls this directly

Calls 5

wait_phaseMethod · 0.80
acquireMethod · 0.45
appendMethod · 0.45
releaseMethod · 0.45
_is_ownedMethod · 0.45

Tested by

no test coverage detected