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

Method check

Lib/test/test_linecache.py:421–431  ·  view source on GitHub ↗
(funcs)

Source from the content-addressed store, hash-verified

419 linecache.getline(name, 1)
420
421 def check(funcs):
422 barrier = threading.Barrier(len(funcs))
423 threads = []
424
425 for func in funcs:
426 thread = threading.Thread(target=func, args=(barrier,))
427
428 threads.append(thread)
429
430 with threading_helper.start_threads(threads):
431 pass
432
433 check([linecache_get_line] * 20)
434

Callers

nothing calls this directly

Calls 2

BarrierMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected