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
Loading
Please register or sign in to comment