| 222 | } |
| 223 | |
| 224 | inline void ThriftClosure::SuspendRunning() { |
| 225 | _run_counter.fetch_add(1, butil::memory_order_relaxed); |
| 226 | } |
| 227 | |
| 228 | inline void ThriftClosure::ResumeRunning() { |
| 229 | if (_run_counter.fetch_sub(1, butil::memory_order_relaxed) == 1) { |
no test coverage detected