| 158 | cond.notify_all(); |
| 159 | } |
| 160 | void queue_accept(Connection *con) { |
| 161 | std::lock_guard l{lock}; |
| 162 | if (stop) |
| 163 | return; |
| 164 | mqueue.enqueue_strict( |
| 165 | 0, |
| 166 | CEPH_MSG_PRIO_HIGHEST, |
| 167 | QueueItem(D_ACCEPT, con)); |
| 168 | cond.notify_all(); |
| 169 | } |
| 170 | void queue_remote_reset(Connection *con) { |
| 171 | std::lock_guard l{lock}; |
| 172 | if (stop) |
no test coverage detected