1 #ifndef GAUDI_KERNEL_THREADLIBGAUDI_H 2 #define GAUDI_KERNEL_THREADLIBGAUDI_H 22 ThreadMap* getThreadMap();
41 #endif // GAUDI_KERNEL_THREADLIBGAUDI_H
std::unique_ptr< ThreadMap > m_threadMap
GAUDI_API bool isGaudiThreaded(const std::string &name)
test if current Gaudi object is running /will run in a thread
singleton mapping the pthread ID to the Gaudi thread ID
std::map< System::ThreadHandle, std::string > ThreadMap
GAUDI_API std::string getGaudiThreadIDfromID(int iCopy)
helper function to extract Gaudi Thread ID from thread copy number
GAUDI_API std::string getGaudiThreadIDfromName(const std::string &name)
helper function to extract Gaudi Thread ID from thread copy name
GAUDI_API std::string getGaudiThreadGenericName(const std::string &name)
helper function to extract Gaudi instance name from thread copy name