Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

Flow Graph - Rejecting Function Nodes

ronag89
Beginner
301 Views

If I have two function nodes that are both rejecting:

function_node<int, tbb::flow::rejecting> n0(g, 1, body());
function_node<int, tbb::flow::rejecting> n1(g, 1, body());
make_edge(n0, n1);

If n1 rejects a message from n0? Will that message disappear or will n1 pick up the message from n0 later when it is able and in the meantime n0 will also reject messages?

Is my understanding correct?

0 Kudos
1 Reply
Michael_S_
Beginner
301 Views

It looks like the message is really lost. I rose a similar issue here: http://software.intel.com/en-us/forums/topic/516178

0 Kudos
Reply