Chromium Code Reviews
Description[Merge to M53] Worker: Remove locking from WorkerThread::postTask()
WorkerThread::postTask() can be called from various places and locking in the
function may lead to deadlock. To avoid the problem, this CL removes locking
from WorkerThread::postTask() and makes it possible to safely access to shared
flags without locking.
BUG=620442
Review-Url: https://codereview.chromium.org/2142273004
Cr-Commit-Position: refs/heads/master@{#405715}
(cherry picked from commit 18d1be3c48e503e5d080361f8fe6df7cfd2b503e)
Committed: https://chromium.googlesource.com/chromium/src/+/b70891a44868d73034b78417cad991307819e5a5
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
||||||||||||||||||||||||||||