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

Skip to content
Commit 80c5feae authored by Patty's avatar Patty
Browse files

Use atomic variable to avoid race condition

iso_credits_ will be modified by two threads, change to use
atomic to let the value become thread safe.

Tag: #refactor
Bug: 211078908
Bug: 150670922
Test: Playing music and the iso_credits_ should not run out.

Change-Id: I08afee7c1ee163896f721ce1087ae631de71ff3f
parent fd0d1bd9
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