From 6a54278b4a9b86a1cce359e78db61015e7a1cc07 Mon Sep 17 00:00:00 2001 From: Zhongyi Xie Date: Thu, 23 May 2019 16:26:08 -0700 Subject: [PATCH] add class level comment for RepeatableThread Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/5344 Differential Revision: D15485431 Pulled By: miasantreble fbshipit-source-id: 9c0f6cf0d826743e743012549976705ceb8cc0c4 --- util/repeatable_thread.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/repeatable_thread.h b/util/repeatable_thread.h index 967cc4994..2d4729da0 100644 --- a/util/repeatable_thread.h +++ b/util/repeatable_thread.h @@ -15,6 +15,9 @@ namespace rocksdb { +// Simple wrapper around port::Thread that supports calling a callback every +// X seconds. If you pass in 0, then it will call your callback repeatedly +// without delay. class RepeatableThread { public: RepeatableThread(std::function function,