GitLab maintenance scheduled for Today, 2019-12-05, from 17:00 to 18:00 CT - Services will be unavailable during this time.

Commit a277597a authored by Matthieu Dorier's avatar Matthieu Dorier

correcting small error

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