Simplify ThreadedRepeatingFunctionRunner by requiring classes that contain it to...
authorAlexey Spiridonov <lesha@fb.com>
Tue, 16 May 2017 21:05:49 +0000 (14:05 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 16 May 2017 21:20:21 +0000 (14:20 -0700)
commit1b546da9faec9c673bf637aeaca1bc604857cbc1
tree2fe48c6f7bea38f9cce06da8f32909cd4b630ef6
parent1a1ce79ed7c22c3227c17fe797bd6213e4e4ef11
Simplify ThreadedRepeatingFunctionRunner by requiring classes that contain it to be final

Summary: It is pretty confusing to inherit from classes that manage threads. See the docblocks in this diff.

Reviewed By: yfeldblum

Differential Revision: D4973498

fbshipit-source-id: 2fcf1ddf68ef46d4d78a9b40f304262064862715
folly/experimental/ThreadedRepeatingFunctionRunner.cpp
folly/experimental/ThreadedRepeatingFunctionRunner.h