The caller must be holding the mutex_.
| 261 | |
| 262 | // The caller must be holding the mutex_. |
| 263 | void set_state(LIRSState old_state, LIRSState new_state) { |
| 264 | modify_atomic_state([old_state, new_state](AtomicState& cur_state) { |
| 265 | DCHECK_EQ(cur_state.state, old_state); |
| 266 | cur_state.state = new_state; |
| 267 | }); |
| 268 | } |
| 269 | |
| 270 | DataResidency residency() const { |
| 271 | return atomic_state_.load().residency; |
no outgoing calls
no test coverage detected