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

Class mod_gil_not_used

include/pybind11/pybind11.h:1435–1442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1433
1434// Use to activate Py_MOD_GIL_NOT_USED.
1435class mod_gil_not_used {
1436public:
1437 explicit mod_gil_not_used(bool flag = true) : flag_(flag) {}
1438 bool flag() const { return flag_; }
1439
1440private:
1441 bool flag_;
1442};
1443
1444class multiple_interpreters {
1445public:

Callers 1

create_extension_moduleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected