Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

async_node with multiple outputs?

Florian_J_
Beginner
151 Views

The tbb::flow::async_node documentation describes an async activity that writes to a single output port via the gateway interface. Is it possible to write to multiple output ports asynchronously like you can do with a tbb::flow::multifunction_node?

0 Kudos
2 Replies
Nikita_P_Intel
Employee
151 Views

Hi Florian,

Thanks for your question!

Currently, we do not support such functionality in async_node and we will consider it's implementation. However, you can emulate this by connecting multifunction_node as an output for async_node and switch ports by data inside multifunction_node.

- Nikita

Florian_J_
Beginner
151 Views

Thank you very much. The solution is a bit clunky, but it works fine.

Reply