DescriptionUse a reader-writer lock to protect the threads table in BrowserThreadImpl.
If |lock| is being held while posting the task to the task runner, and
the posting results in the thread being switched out, any other thread
that tries to use BrowserThread to post a task will be blocked while
trying to acquire |lock|.
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Rebase #
Depends on Patchset: |