Skip to content

Commit 9bcf58f

Browse files
committed
added the possibility to get the ID of a remote_procedure
1 parent 0174af7 commit 9bcf58f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

include/thallium/remote_procedure.hpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,13 @@ class remote_procedure {
109109
*/
110110
void deregister();
111111

112+
/**
113+
* @brief Return the ID of the RPC.
114+
*/
115+
hg_id_t id() const {
116+
return m_id;
117+
}
118+
112119
[[deprecated("use disable_response() instead")]] inline remote_procedure&
113120
ignore_response() {
114121
return disable_response();

0 commit comments

Comments
 (0)