mirror of
https://github.com/boostorg/python.git
synced 2026-07-22 13:43:45 +00:00
cfbefe893c
Add pymutex.hpp which implements a re-entrant mutex on top of Python's PyMutex. Add BOOST_PYTHON_LOCK_STATE() macro that uses RAII to lock mutable global state as required.