Specialization for signal (i.e., void) consumption. Avoid move and sharing related logic. More...
Public Member Functions | |
edge_notifier_wrapper (Notifier const ¬ifier) | |
void | operator() (edge_container &edge_ct, size_t loc, std::size_t tid, edge_version_storage< int > const &, bool b_migrate=false, bool b_move=false) const |
Based on b_migrate parameter, either call edge_container::add_remote_notifier to move notifier to producer task's new, post-migration execution location. Otherwise, treat as an edge fire, and invoke the notifier, forwarding the appropriate parameters. More... | |
Public Types | |
typedef edge_container::index_type | index_type |
typedef df_stored_type< void >::type | stored_value_t |
typedef void | value_type |
Specialization for signal (i.e., void) consumption. Avoid move and sharing related logic.
void stapl::detail::edge_notifier_wrapper< void, Notifier >::operator() | ( | edge_container & | edge_ct, |
size_t | loc, | ||
std::size_t | tid, | ||
edge_version_storage< int > const & | , | ||
bool | b_migrate = false , |
||
bool | b_move = false |
||
) | const |
Based on b_migrate
parameter, either call edge_container::add_remote_notifier to move notifier to producer task's new, post-migration execution location. Otherwise, treat as an edge fire, and invoke the notifier, forwarding the appropriate parameters.
edge_ct | The edge container which holds the entry this notifier is associated with. |
loc | The location that the remote notifier held by wrapper is meant to notify. |
tid | The task identifier of the producer task the edge notifier is associated with. |
value | The value to be flowed along this PARAGRAPH edge(s) this notifier represents. |
b_migrate | Boolean representing whether migration is requested by the caller. |