diff options
| author | Clifford Allan Jansen <cliffjansen@apache.org> | 2012-09-30 19:23:37 +0000 |
|---|---|---|
| committer | Clifford Allan Jansen <cliffjansen@apache.org> | 2012-09-30 19:23:37 +0000 |
| commit | 2ea9dcb559cab7c2aab35e4e4fbe28a28306a7be (patch) | |
| tree | 57f0d68796728b756c11f5a2363d8ee703018719 /qpid/cpp/include | |
| parent | 0730357047ae0ccc9fc1f67d3f36e61ea63e5e6e (diff) | |
| download | qpid-python-2ea9dcb559cab7c2aab35e4e4fbe28a28306a7be.tar.gz | |
QPID-4330: Windows static destructors: threadSafeShutdown() test
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1392093 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
| -rw-r--r-- | qpid/cpp/include/qpid/sys/SystemInfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
