From 694a0fb6c874a1bbf1d3eeeca6c18952a78b9f28 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/qpid@1392093 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/sys/SystemInfo.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cpp/include') diff --git a/cpp/include/qpid/sys/SystemInfo.h b/cpp/include/qpid/sys/SystemInfo.h index 24bc099d75..f1434a9a7c 100644 --- a/cpp/include/qpid/sys/SystemInfo.h +++ b/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