Skip to content

Commit

Permalink
#276: active: add interface with only handler required
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Jan 13, 2023
1 parent 8105706 commit 12d1907
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/vt/messaging/active.h
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,15 @@ struct ActiveMessenger : runtime::component::PollableComponent<ActiveMessenger>
TagType tag = no_tag
);

template <auto f, typename MsgT>
PendingSendType sendMsg(
NodeType dest,
MsgPtrThief<MsgT> msg,
TagType tag = no_tag
) {
return sendMsg<MsgT, f>(dest, msg, tag);
}

/**
* \brief Send a message with explicit size.
*
Expand Down

0 comments on commit 12d1907

Please sign in to comment.