Commit 75aa9669 authored by Matthieu Dorier's avatar Matthieu Dorier

added function to get the margo instance id

parent 17734667
......@@ -229,6 +229,16 @@ public:
}
}
/**
* @brief Get the underlying margo instance. Useful
* when working in conjunction with C code that need
* to be initialized with the margo instance.
*
* @return The margo instance id.
*/
margo_instance_id get_margo_instance() const {
return m_mid;
}
/**
* @brief Finalize the engine. Can be called by any thread.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment