threadmon.hpp

来自「java开源的企业总线.xmlBlaster」· HPP 代码 · 共 24 行

HPP
24
字号
#include <boost/config.hpp>#ifndef BOOST_HAS_THREADS#   error   Thread support is unavailable!#endif#ifdef BOOST_HAS_WINTHREADS// The following ifdef block is the standard way of creating macros which make exporting// from a DLL simpler. All files within this DLL are compiled with the BOOST_THREADMON_EXPORTS// symbol defined on the command line. this symbol should not be defined on any project// that uses this DLL. This way any other project whose source files include this file see// BOOST_THREADMON_API functions as being imported from a DLL, wheras this DLL sees symbols// defined with this macro as being exported.#ifdef BOOST_THREADMON_EXPORTS#define BOOST_THREADMON_API __declspec(dllexport)#else#define BOOST_THREADMON_API __declspec(dllimport)#endifint on_thread_exit(void (__cdecl * func)(void));#endif // BOOST_HAS_WINTHREADS

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?