Skip to content
Discussion options

You must be logged in to vote

Hey @chuyue86, first of all, I think we need to improve the documentation on our side, so thank you for raising your questions!

What exactly does “ports are thread-safe” mean in the C++ wrapper?

It means that every method in the

  • Publisher, Subscriber, (pubsub messaging pattern)
  • Listener, Notifier (event messaging pattern)
  • Server, Client (request response messaging pattern)
  • Reader, Writer (blackboard messaging pattern)

can be called from multiple threads concurrently. All language bindings use the {ipc|local}_threadsafe::Service Rust service type (see: https://github.com/eclipse-iceoryx/iceoryx2/tree/main/examples/rust/service_types) under the hood since languages like C, C++ or Python…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@elfenpiff
Comment options

Answer selected by chuyue86
Comment options

You must be logged in to vote
1 reply
@elBoberido
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants