Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ gil_acquire
Function
gil_acquire
tests/cross_module_gil_utils.cpp:31–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
namespace py = pybind11;
30
31
void gil_acquire() { py::gil_scoped_acquire gil; }
32
33
std::string gil_multi_acquire_release(unsigned bits) {
34
if ((bits & 0x1u) != 0u) {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected