| 135 | } |
| 136 | |
| 137 | void |
| 138 | WriteOperation::process(const size_t b) |
| 139 | { |
| 140 | assert(mutex_); |
| 141 | const Lock lock(mutex_); |
| 142 | bytes_ += b; |
| 143 | if (vio_ != nullptr && TSVIOContGet(vio_) != nullptr) { |
| 144 | if (reenable_) { |
| 145 | TSVIOReenable(vio_); |
| 146 | reenable_ = false; |
| 147 | } |
| 148 | } else { |
| 149 | vio_ = nullptr; |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | int |
| 154 | WriteOperation::Handle(const TSCont c, const TSEvent e, [[maybe_unused]] void *d) |
no test coverage detected