TaskScheduler: Create threads outside the scope of the pool lock.
Hang reports show that there can be contention on the pool lock when a thread is created in a scope where it is held. To avoid this contention, this CL ensures that no lock is held when SchedulerWorker::Start() is called. Bug: 905288 Change-Id: I4158fb061e6c0ec0de820bd061c1cc5b2d309e6b Reviewed-on: https://chromium-review.googlesource.com/c/1355427Reviewed-by:Etienne Pierre-Doray <etiennep@chromium.org> Commit-Queue: François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#612809}
Showing
Please register or sign in to comment