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
This commit is contained in:
Zhongyi Xie 2019-05-23 16:26:08 -07:00 committed by Facebook Github Bot
parent 09b534cc2f
commit 6a54278b4a

View File

@ -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<void()> function,