userver-framework / userver

Production-ready C++ Asynchronous Framework with rich functionality
https://userver.tech
Apache License 2.0
2.36k stars 272 forks source link

Teach GetAll and WaitAny to work with SharedTaskWithResult #563

Open apolukhin opened 4 months ago

apolukhin commented 4 months ago

At the moment intrusive WaitList hook is used in SharedTaskWithResult, so it can not be added into multiple WaitLists.

Add tests with invoking GetAll concurrently on the same set of SharedTaskWithResult

Internal ticket: 4805

Anton3 commented 3 months ago

Will try to merge lock-free WaitList some time soon, after that the path is clear