Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Listener/WaitSet functionaliy #9

Open
elBoberido opened this issue Sep 16, 2021 · 1 comment
Open

Create a Listener/WaitSet functionaliy #9

elBoberido opened this issue Sep 16, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@elBoberido
Copy link
Member

Currently it's not possible to wait for multiple subscriber in the same thread since there is one condition_variable used for each Subscriber. In order to wait for multiple subscriber in one thread, a similar functionality like the Listener/WaitSet from the C++ implementation is needed.

Due to the ownership semantics something similar to a stateless WaitSet might be the best solution for this problem. The user would need to start a thread by oneself, which is also more idiomatic rust than starting a thread in the background.

If this feature is needed in the short therm, the corresponding C++ classes could be wrapped.

@elBoberido elBoberido added the enhancement New feature or request label Sep 16, 2021
@elBoberido
Copy link
Member Author

@mossmaurice fyi since you asked for this :)

elBoberido added a commit that referenced this issue Aug 25, 2023
elBoberido added a commit that referenced this issue Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant