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

Function main

Lib/test/test_importlib/partial/pool_in_threads.py:16–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15
16def main():
17 threads = []
18 for i in range(20):
19 threads.append(threading.Thread(target=t))
20 for thread in threads:
21 thread.start()
22 for thread in threads:
23 thread.join()
24
25
26if __name__ == "__main__":

Callers 1

pool_in_threads.pyFile · 0.70

Calls 3

appendMethod · 0.45
startMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…