Use std::deque to store the stack of currently executing tasks
The stack of currently executing stacks includes a PendingTask field. A pointer to this field is stored in TLS. However, std::vector does not guarantee pointer stability on resize. Bug: 1064891 Change-Id: I04eb06c9521722f08fd72826f552cedaffe61b53 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2146349 Commit-Queue: Daniel Cheng <dcheng@chromium.org> Reviewed-by:Sami Kyöstilä <skyostil@chromium.org> Reviewed-by:
François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#759017}
Showing
Please register or sign in to comment