Hook up collectAll() algorithms to propagate async stack chains
Summary: The collectAll() family of algorithms now hooks up async-stack frames of child operations to ensure that they trace back up through to the caller of collectAll() rather than stopping at the call to .start() inside collectAll(). This also adds the helper `folly::coro::detail::co_current_async_stack_frame` which allows the coroutine to get access to its own AsyncStackFrame object - which is needed for algorithms like collectAll() which then need to pass this on to the BarrierTask when it is started. Reviewed By: andriigrynenko Differential Revision: D24466130 fbshipit-source-id: f7058388ebc8fa212684eb0edc0a83deef6fc2a2
Showing
Please register or sign in to comment