-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make ClientData thread-safe * Handle queries in flight * Address some feedback * Fix service client type check * fix tracking of num in flight without UB * Additional fixes for yadu/raii-client. (#304) * Additional fixes for yadu/raii-client. * Apply suggestions from code review * Fixups. * Fix -Wnon-pod-varargs * Make PublisherData::copy_gid have the same signatures as others. This just makes it more consistent with the rest of the APIs. * Add api to init client * Vastly simplify handling of in-flight ClientData. We basically use the pointer as a key to lookup the shared_ptr, and then always use the shared_ptr. That ensures that even if the pointer was dropped from the node while the client callback is operating, it will still be valid and won't be destroyed until that method returns. Signed-off-by: Yadunund <[email protected]> Signed-off-by: Chris Lalancette <[email protected]>
- Loading branch information
Showing
15 changed files
with
901 additions
and
807 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.