Simplify BackgroundThreads, move them to folly/experimental/ThreadedRepeatingFunction...
[folly.git] / folly / experimental / FunctionScheduler.h
index ba55feec5ac45eb902987a8086515614382c61ff..0c590842a0adb3698164f6604e31b53be1a11c1d 100644 (file)
@@ -42,7 +42,9 @@ namespace folly {
  *
  *
  * Note: the class uses only one thread - if you want to use more than one
- *       thread use multiple FunctionScheduler objects
+ *       thread, either use multiple FunctionScheduler objects, or check out
+ *       ThreadedRepeatingFunctionRunner.h for a much simpler contract of
+ *       "run each function periodically in its own thread".
  *
  * start() schedules the functions, while shutdown() terminates further
  * scheduling.