Closed caojiebao closed 3 weeks ago
@eboasson
I would like to change the listeners to be called from a specific listener thread(-pool) by default. That should make it easy to delay the listener call until everything's ready. The current behaviour can then be opt-in.
That it doesn't do it asynchronously was an intentional decision. There are some things you can do now that otherwise you can never do, and it is straightforward to build asynchronous ones yourself (see, e.g. what doing ddsperf
does with its asynchronous listener, which you can probably copy with very few modifications). In hindsight, though, it was not the right decision to not offer it standard.
thks for the advice
I guess it is ok if I close this.
If proxy_reader created between local create_participant and local create_writer , local writer and proxy_reader will match and at the same time the callback function on_publication_matched will be called, but writer is still in pending sattus,
dds_get_matched_subscription_data will check this status. so it will get NULL.
Is this a bug which will to be fixed? How can i get remote reader guid in publication_matched callback?