DescriptionReland: Prevent data race in MessageQueue.
The CL prevents a data race in MessageQueue where the variable "ss_" is
modified without a lock while sometimes read inside a lock.
Also thread annotations have been added to the MessageQueue class.
This was already reviewed and landed in https://codereview.webrtc.org/1675923002/
but failed in Chromium GN builds due to sharedexclusivelock.cc not being
compiled in these builds. This changed in https://codereview.webrtc.org/1712773003/
so the reland should work fine now.
BUG=webrtc:5496
Committed: https://crrev.com/9ccedc38f6ba113a95cfcd2db59112051ab11160
Cr-Commit-Position: refs/heads/master@{#11758}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|