]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/admin_socket: use pipe for general wakeup
authorSage Weil <sage@redhat.com>
Thu, 5 Sep 2019 19:23:27 +0000 (14:23 -0500)
committerSage Weil <sage@redhat.com>
Tue, 1 Oct 2019 21:30:52 +0000 (16:30 -0500)
commitaed0fe4605f34e25fb44b890cb0f0cbdefbbaba1
treedb3721cd84700fcc7512c7ac96cf7ecb5418ae86
parent058aa90f03e18cdf6a2f878f6b5cfe670602ec15
common/admin_socket: use pipe for general wakeup

Use the pipe to wake up the thread.  Use a separate bool to signal a
shutdown.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/admin_socket.cc
src/common/admin_socket.h