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

Method pymutex

include/pybind11/detail/internals.h:235–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233
234public:
235 pymutex() : mutex({}) {}
236 void lock() { PyMutex_Lock(&mutex); }
237 void unlock() { PyMutex_Unlock(&mutex); }
238};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected