Skip to content
Commit ce1bdbe5 authored by Edgar Arriaga's avatar Edgar Arriaga
Browse files

Add volatile to some cancel compaction signals to avoid compiler optimizations

The compaction cancel signals are delivered between different threads so
add volatile keyword for such variables to make sure the compiler does
not try to optimize the values avoiding them to be effective due to
potential register caching.

Bug: 227060330
Test: Manual

Change-Id: I42503e02627c6f76382a58da9320b3f5df15a75d
parent 463a08b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment