commit | ca9201a94cf4921776c3b6ff6b027b03cea55552 | [log] [tgz] |
---|---|---|
author | Tianyu Jiang <tianyuj@google.com> | Tue Nov 06 12:40:33 2018 -0800 |
committer | Tianyu Jiang <tianyuj@google.com> | Tue Nov 06 15:13:06 2018 -0800 |
tree | ef0172fd85ac42d0badde9dcd1412cbbd3ceea70 | |
parent | c556dfeee1de47086a7404df3f0093daa86dcb1a [diff] |
Fix race condition between ProducerQueue dequeue and ConsumerQueue dequeue newly allocated buffer. The original check allows newly added consumer to acquire after LocalGain but before remote gain. Test: all tests still pass. Bug: 119112218 Change-Id: Iea0ae431b211ce4a539e4db64ea72411028e080a