perfetto: Enable deferred posting of delayed tasks until outside the scope of a lock.
This is needed for an upcoming change to perfetto that will post delayed tasks to the perfetto task runner. This posting could happen from within PostTask itself and can thus lead to deadlocks. Extend ScopedDeferTaskPosting::PostOrDefer to include a delay. Related change in perfetto: https://android-review.googlesource.com/c/platform/external/perfetto/+/1260461 Bug: 1029298 Change-Id: I1a612d90af3cbc3a6f58ccfcab20fd10910d4b65 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106176 Commit-Queue: Lyubomir Ivanov <lri@google.com> Reviewed-by:Sami Kyöstilä <skyostil@chromium.org> Cr-Commit-Position: refs/heads/master@{#752268}
Showing
Please register or sign in to comment