From 2ea9dcb559cab7c2aab35e4e4fbe28a28306a7be Mon Sep 17 00:00:00 2001 From: Clifford Allan Jansen Date: Sun, 30 Sep 2012 19:23:37 +0000 Subject: QPID-4330: Windows static destructors: threadSafeShutdown() test git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1392093 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/include/qpid/sys/SystemInfo.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'qpid/cpp/include') diff --git a/qpid/cpp/include/qpid/sys/SystemInfo.h b/qpid/cpp/include/qpid/sys/SystemInfo.h index 24bc099d75..f1434a9a7c 100644 --- a/qpid/cpp/include/qpid/sys/SystemInfo.h +++ b/qpid/cpp/include/qpid/sys/SystemInfo.h @@ -90,6 +90,12 @@ QPID_COMMON_EXTERN uint32_t getParentProcessId(); */ QPID_COMMON_EXTERN std::string getProcessName(); +/** + * Can thread related primitives be trusted during runtime house-cleaning? + * (i.e. static destructors, atexit()). + */ +QPID_COMMON_EXTERN bool threadSafeShutdown(); + }}} // namespace qpid::sys::SystemInfo -- cgit v1.2.1