MCPcopy Create free account
hub / github.com/pybind/pybind11 / func

Function func

tests/test_class.py:564–567  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

562 barrier = threading.Barrier(num_threads)
563
564 def func():
565 barrier.wait()
566 with Context():
567 pass
568
569 for _ in range(num_runs):
570 threads = [threading.Thread(target=func) for _ in range(num_threads)]

Callers 15

test_const_nameFunction · 0.70
TEST_SUBMODULEFunction · 0.70
test_zero_lengthFunction · 0.70
PYBIND11_OVERRIDE_PUREFunction · 0.70
test_dim_check_failFunction · 0.70
test_at_failFunction · 0.70
test_mutate_readonlyFunction · 0.70
test_bounds_checkFunction · 0.70
TEST_SUBMODULEFunction · 0.70
test_recarrayFunction · 0.70
test_scalar_conversionFunction · 0.70
register_testFunction · 0.70

Calls 1

ContextClass · 0.85

Tested by

no test coverage detected