From: Adam C. Emerson Date: Thu, 12 Dec 2019 16:19:51 +0000 (-0500) Subject: common: Name thread for ceph_timer X-Git-Tag: wip-pdonnell-testing-20200918.022351~1203^2~20 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=88bfb4f483596645220dee13f3cf8067389d1ef9;p=ceph-ci.git common: Name thread for ceph_timer Signed-off-by: Adam C. Emerson --- diff --git a/src/common/ceph_timer.h b/src/common/ceph_timer.h index d12cc19933a..ae895db745b 100644 --- a/src/common/ceph_timer.h +++ b/src/common/ceph_timer.h @@ -26,15 +26,11 @@ #include "include/function2.hpp" +#include "common/detail/construct_suspended.h" + namespace bi = boost::intrusive; namespace ceph { -/// Newly constructed timer should be suspended at point of -/// construction. - -struct construct_suspended_t { }; -constexpr construct_suspended_t construct_suspended { }; - // Compared to the SafeTimer this does fewer allocations (you // don't have to allocate a new Context every time you // want to cue the next tick.)