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

Method run_threads

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

Source from the content-addressed store, hash-verified

2267 return _DummyList()
2268
2269 def run_threads(self, f, args):
2270 b = Bunch(self, f, args, self.N-1)
2271 try:
2272 f(*args)
2273 b.wait_for_finished()
2274 finally:
2275 b.close()
2276
2277 @classmethod
2278 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