When the function Gauge::Change is called concurrently, there may be a problem that the old value overwrites the new value. below is the fixing code: 