diff options
| author | Ted Ross <tross@apache.org> | 2008-12-19 20:22:03 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2008-12-19 20:22:03 +0000 |
| commit | 2660791c236676f28cdbf81da5c0d52110b36d17 (patch) | |
| tree | 5a4166a17da10fcd64e05ecddec4c6f14dc0385f /cpp/src/qpid/sys/SystemInfo.h | |
| parent | d98c3cdf286d3ee16904d66337a20d94a8e95dc3 (diff) | |
| download | qpid-python-2660791c236676f28cdbf81da5c0d52110b36d17.tar.gz | |
QPID-1412 - c++ implementation of the QMF client API
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@728132 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/SystemInfo.h')
| -rw-r--r-- | cpp/src/qpid/sys/SystemInfo.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/SystemInfo.h b/cpp/src/qpid/sys/SystemInfo.h index 5a116cf8ee..d43fe34b04 100644 --- a/cpp/src/qpid/sys/SystemInfo.h +++ b/cpp/src/qpid/sys/SystemInfo.h @@ -63,6 +63,17 @@ namespace SystemInfo { std::string &version, std::string &machine); + /** + * Get the process ID of the current process. + */ + uint32_t getProcessId(); + + /** + * Get the process ID of the parent of the current process. + */ + uint32_t getParentProcessId(); + + }}} // namespace qpid::sys::SystemInfo #endif /*!QPID_SYS_SYSTEMINFO_H*/ |
