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

Method run_threads

Lib/test/_test_multiprocessing.py:2065–2071  ·  view source on GitHub ↗
(self, f, args)

Source from the content-addressed store, hash-verified

2063 return _DummyList()
2064
2065 def run_threads(self, f, args):
2066 b = Bunch(self, f, args, self.N-1)
2067 try:
2068 f(*args)
2069 b.wait_for_finished()
2070 finally:
2071 b.close()
2072
2073 @classmethod
2074 def multipass(cls, barrier, results, n):

Callers 8

test_barrierMethod · 0.95
test_wait_returnMethod · 0.95
test_actionMethod · 0.95
test_abortMethod · 0.95
test_resetMethod · 0.95
test_abort_and_resetMethod · 0.95
test_timeoutMethod · 0.95
test_default_timeoutMethod · 0.95

Calls 4

wait_for_finishedMethod · 0.95
closeMethod · 0.95
BunchClass · 0.70
fFunction · 0.70

Tested by

no test coverage detected