Template Function gkfs::rpc::cleanup

Function Documentation

template<typename InputType, typename OutputType>
inline hg_return_t gkfs::rpc::cleanup(hg_handle_t *handle, InputType *input, OutputType *output, hg_bulk_t *bulk_handle)

Frees all given RPC resources allocated by Margo.

Template Parameters
  • InputType – Any RPC input struct from client requests

  • OutputType – Any RPC output struct for client response

Parameters
  • handle – Pointer to Mercury RPC handle

  • input – Pointer to input struct

  • output – Pointer to output struct

  • bulk_handle – Pointer to Mercury bulk handle

Returns

Mercury error code. HG_SUCCESS on success.