Skip to content

Commit

Permalink
added the possibility to get the ID of a remote_procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Aug 12, 2024
1 parent 0174af7 commit 9bcf58f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/thallium/remote_procedure.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,13 @@ class remote_procedure {
*/
void deregister();

/**
* @brief Return the ID of the RPC.
*/
hg_id_t id() const {
return m_id;
}

[[deprecated("use disable_response() instead")]] inline remote_procedure&
ignore_response() {
return disable_response();
Expand Down

0 comments on commit 9bcf58f

Please sign in to comment.