1st Version with ECAL

This commit is contained in:
2024-04-17 09:34:52 +02:00
commit 8d2fee2406
24 changed files with 31664 additions and 0 deletions

21
include/GILLock.h Normal file
View File

@@ -0,0 +1,21 @@
#include <boost/python.hpp>
#include <boost/thread.hpp>
//Use this class in a c++ funktion that called into python : c++ => python
class PyLockGIL
{
public:
PyLockGIL();
~PyLockGIL();
PyLockGIL(const PyLockGIL&) = delete;
PyLockGIL& operator=(const PyLockGIL&) = delete;
private:
PyGILState_STATE m_gstate;
};