| 226 | } |
| 227 | |
| 228 | inline void ThriftClosure::ResumeRunning() { |
| 229 | if (_run_counter.fetch_sub(1, butil::memory_order_relaxed) == 1) { |
| 230 | DoRun(); |
| 231 | } |
| 232 | } |
| 233 | |
| 234 | void ThriftClosure::Run() { |
| 235 | if (_run_counter.fetch_sub(1, butil::memory_order_relaxed) == 1) { |
no test coverage detected