mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
2d6116b53f
Fixes a race condition when multiple threads try to acquire the GIL before `detail::internals` have been initialized. `gil_scoped_release` is now tasked with initializing `internals` (guaranteed single-threaded) to ensure the safety of subsequent `acquire` calls from multiple threads. |
||
---|---|---|
.. | ||
catch.cpp | ||
CMakeLists.txt | ||
test_interpreter.cpp | ||
test_interpreter.py |