summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/SystemInfo.h
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-02-24 14:15:28 +0000
committerTed Ross <tross@apache.org>2009-02-24 14:15:28 +0000
commit1b3a5d652c92cf5b091964110f4ba1251acbf9f4 (patch)
tree31bde11f895d8750a67b6a43c5fe4aa6578ac308 /cpp/src/qpid/sys/SystemInfo.h
parent29f3702dedf1753f350a412a6c026df72caa8534 (diff)
downloadqpid-python-1b3a5d652c92cf5b091964110f4ba1251acbf9f4.tar.gz
QPID-1676 - Added client process name and pid to connection object for management.
Supported in C++, Python, and Ruby clients. Still needs to be added to the Java clients. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@747389 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/SystemInfo.h')
-rw-r--r--cpp/src/qpid/sys/SystemInfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/SystemInfo.h b/cpp/src/qpid/sys/SystemInfo.h
index d43fe34b04..017a05e2c5 100644
--- a/cpp/src/qpid/sys/SystemInfo.h
+++ b/cpp/src/qpid/sys/SystemInfo.h
@@ -73,6 +73,11 @@ namespace SystemInfo {
*/
uint32_t getParentProcessId();
+ /**
+ * Get the name of the current process (i.e. the name of the executable)
+ */
+ std::string getProcessName();
+
}}} // namespace qpid::sys::SystemInfo