]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/async/AsyncMessenger: make sure all connections closed then shutdown dq 9781/head
authorHaomai Wang <haomai@xsky.com>
Mon, 27 Jun 2016 15:23:20 +0000 (23:23 +0800)
committerHaomai Wang <haomai@xsky.com>
Tue, 28 Jun 2016 14:29:59 +0000 (22:29 +0800)
commitf6c73e9f4cbd38a57445e35f56738f05a62767c0
tree534a1f7121327cc278ee7f5db38a0171ce1df381
parent70cc0704c2c4ea62184bcd1e87caa1ae2eaa868c
msg/async/AsyncMessenger: make sure all connections closed then shutdown dq

1. ensure stop accepter before shutdown dispatcherqueue
2. ensure we don't generate new item after dispatcher queue shutdown

Signed-off-by: Haomai Wang <haomai@xsky.com>
src/msg/async/AsyncConnection.h
src/msg/async/AsyncMessenger.cc
src/msg/async/AsyncMessenger.h