From 88bfb4f483596645220dee13f3cf8067389d1ef9 Mon Sep 17 00:00:00 2001 From: "Adam C. Emerson" Date: Thu, 12 Dec 2019 11:19:51 -0500 Subject: [PATCH] common: Name thread for ceph_timer Signed-off-by: Adam C. Emerson --- src/common/ceph_timer.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/common/ceph_timer.h b/src/common/ceph_timer.h index d12cc19933ae9..ae895db745bb5 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.) -- 2.39.5