-
Sami Kyostila authored
If a delayed task is posted from a non-main thread and task queue time recording is enabled, we attempt to grab the "any thread" lock twice, leading to a deadlock. This patch reduces the scope of the lock to avoid the problem. Original fix from Alexander Timin <altimin@chromium.org>. Bug: 891670 Change-Id: I5af0c2016a12b061c523b8b51c16ff23a8f3a41f Reviewed-on: https://chromium-review.googlesource.com/c/1344144Reviewed-by:
Alex Clarke <alexclarke@chromium.org> Reviewed-by:
Alexander Timin <altimin@chromium.org> Commit-Queue: Sami Kyöstilä <skyostil@chromium.org> Cr-Commit-Position: refs/heads/master@{#610000}
7fedba60