Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_name
Function · 0.70
TEST_SUBMODULE
Function · 0.70
test_zero_length
Function · 0.70
PYBIND11_OVERRIDE_PURE
Function · 0.70
test_dim_check_fail
Function · 0.70
test_at_fail
Function · 0.70
test_mutate_readonly
Function · 0.70
test_bounds_check
Function · 0.70
TEST_SUBMODULE
Function · 0.70
test_recarray
Function · 0.70
test_scalar_conversion
Function · 0.70
register_test
Function · 0.70
Calls
1
Context
Class · 0.85
Tested by
no test coverage detected