DescriptionFix data races on |SharedMemoryDataConsumerHandle::Context::notification_task_runner_|
Writes to |notification_task_runner_| are protected by |lock_| but reads to |notification_task_runner_| in NotifyInternal() and PostNotify() are not protected.
This CL fixes the races by adding locks.
BUG=480746
Committed: https://crrev.com/e1a55538db15f150f4195dde5c8598d9bcf998d9
Cr-Commit-Position: refs/heads/master@{#339008}
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : #
Total comments: 2
Patch Set 4 : Add AssertAquired(). #Messages
Total messages: 15 (4 generated)
|