MCPcopy Create free account
hub / github.com/ceph/ceph / stop

Method stop

src/msg/async/AsyncConnection.cc:757–763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755}
756
757void AsyncConnection::stop(bool queue_reset) {
758 lock.lock();
759 bool need_queue_reset = (state != STATE_CLOSED) && queue_reset;
760 protocol->stop();
761 lock.unlock();
762 if (need_queue_reset) dispatch_queue->queue_reset(this);
763}
764
765void AsyncConnection::cleanup() {
766 shutdown_socket();

Callers 1

mark_downMethod · 0.45

Calls 3

queue_resetMethod · 0.80
lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected