DescriptionReplace reentrant ASSERT checks in MessageQueueManager with a non-racy version.
ASSERT(!crit_.CurrentThreadIsOwner()) was racy due to use of a rtc::IsThreadRefEqual which cannot compare the thread handlers without a lock unless one is already sure it is the thread owning the crit.
Committed: https://crrev.com/cdf6172b7fcb32bb4363243377e08731cc9a4b5d
Cr-Commit-Position: refs/heads/master@{#13411}
Patch Set 1 #Patch Set 2 : rebase #
Messages
Total messages: 15 (8 generated)
|