Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ca9201a9 authored by Tianyu Jiang's avatar Tianyu Jiang
Browse files

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
parent c556dfee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment