| 66 | } |
| 67 | |
| 68 | void BlockingOpState::MoveToState(int expected_current, int next) { |
| 69 | mutex_lock ml(mu_); |
| 70 | CHECK_EQ(expected_current, state_); |
| 71 | state_ = next; |
| 72 | cv_.notify_all(); |
| 73 | } |
| 74 | |
| 75 | BlockingOpState* blocking_op_state = nullptr; |
| 76 |
no test coverage detected