Skip to content
Discussion options

You must be logged in to vote

@kiasar the node.wait call is just a convenient way to let the process sleep. It does not effect the communication.

With iceoryx2, we decoupled the data-flow from the control flow. Publish-Subscribe, Request-Response and Blackboard are data-flow pattern and are polling based. Events are a control flow pattern and can be used to block a thread.

If you do not want to do polling, you can combine one of the data-flow pattern with the Event and for example, use a Notifier to send an event each time a sample is published. But be aware, the internal buffer for events is limited, so you might see a warning about dropped events. This is not a problem as long as you use only one event-id, since the…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kiasar
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants