Commit a277597a authored by Matthieu Dorier's avatar Matthieu Dorier

correcting small error

parent fb885266
...@@ -153,49 +153,50 @@ int margo_shutdown_remote_instance( ...@@ -153,49 +153,50 @@ int margo_shutdown_remote_instance(
margo_instance_id mid, margo_instance_id mid,
hg_addr_t remote_addr); hg_addr_t remote_addr);
/** /**
* Registers an RPC with margo * Registers an RPC with margo that is associated with a provider instance
* *
* \param [in] mid Margo instance * \param [in] mid Margo instance
* \param [in] func_name unique function name for RPC * \param [in] func_name unique function name for RPC
* \param [in] in_proc_cb pointer to input proc callback * \param [in] in_proc_cb pointer to input proc callback
* \param [in] out_proc_cb pointer to output proc callback * \param [in] out_proc_cb pointer to output proc callback
* \param [in] rpc_cb RPC callback * \param [in] rpc_cb RPC callback
* \param [in] provider_id provider identifier
* \param [in] pool Argobots pool the handler will execute in
* *
* \return unique ID associated to the registered function * \return unique ID associated to the registered function
*/ */
inline hg_id_t margo_register_name( hg_id_t margo_provider_register_name(
margo_instance_id mid, margo_instance_id mid,
const char *func_name, const char *func_name,
hg_proc_cb_t in_proc_cb, hg_proc_cb_t in_proc_cb,
hg_proc_cb_t out_proc_cb, hg_proc_cb_t out_proc_cb,
hg_rpc_cb_t rpc_cb) hg_rpc_cb_t rpc_cb,
{ uint16_t provider_id,
return margo_provider_register_name(mid, func_name, ABT_pool pool);
in_proc_cb, out_proc_cb, rpc_cb, 0, ABT_POOL_NULL);
}
/** /**
* Registers an RPC with margo that is associated with a provider instance * Registers an RPC with margo
* *
* \param [in] mid Margo instance * \param [in] mid Margo instance
* \param [in] func_name unique function name for RPC * \param [in] func_name unique function name for RPC
* \param [in] in_proc_cb pointer to input proc callback * \param [in] in_proc_cb pointer to input proc callback
* \param [in] out_proc_cb pointer to output proc callback * \param [in] out_proc_cb pointer to output proc callback
* \param [in] rpc_cb RPC callback * \param [in] rpc_cb RPC callback
* \param [in] provider_id provider identifier
* \param [in] pool Argobots pool the handler will execute in
* *
* \return unique ID associated to the registered function * \return unique ID associated to the registered function
*/ */
hg_id_t margo_provider_register_name( inline hg_id_t margo_register_name(
margo_instance_id mid, margo_instance_id mid,
const char *func_name, const char *func_name,
hg_proc_cb_t in_proc_cb, hg_proc_cb_t in_proc_cb,
hg_proc_cb_t out_proc_cb, hg_proc_cb_t out_proc_cb,
hg_rpc_cb_t rpc_cb, hg_rpc_cb_t rpc_cb)
uint16_t provider_id, {
ABT_pool pool); return margo_provider_register_name(mid, func_name,
in_proc_cb, out_proc_cb, rpc_cb, 0, ABT_POOL_NULL);
}
/* /*
* Indicate whether margo_register_name() has been called for the RPC specified by * Indicate whether margo_register_name() has been called for the RPC specified by
......
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