| 166 | } |
| 167 | |
| 168 | std::int64_t MutationBatcher::Flush() { |
| 169 | std::unique_lock lk(mu_); |
| 170 | Flush(lk); |
| 171 | std::int64_t n = 0; |
| 172 | std::swap(n, mutation_count_); |
| 173 | return n; |
| 174 | } |
| 175 | |
| 176 | void MutationBatcher::ReapBackgroundTasks() { |
| 177 | std::unique_lock lk(mu_); |
no outgoing calls
no test coverage detected