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

add extended wait interface #32

Open
BenjaminW3 opened this issue Feb 5, 2015 · 0 comments
Open

add extended wait interface #32

BenjaminW3 opened this issue Feb 5, 2015 · 0 comments

Comments

@BenjaminW3
Copy link
Member

Add a variadic alpaka::wait::wait(waited1, ...) method to let the current thread wait for multiple objects at once.

It would also be useful to have a method alpaka::wait::wait(waiter, waited1, ...) to let a waiter wait for multiple objects at once.
This would require the two methods to have different names because then they can not be distinguished by the argument count anymore. What would be useful names?

Both methods could possibly be implemented by just sequentially calling the underlying standard wait methods because the events are one shot events only and do not trigger waits in the executing threads and therefore no deadlocks.

@j-stephan j-stephan added this to To do in Release 1.0 via automation Mar 29, 2022
@bernhardmgruber bernhardmgruber removed this from To do in Release 1.0 Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant