FunctionScheduler - return whether shutdown was successful
authorMirek Klimos <miro@fb.com>
Fri, 7 Oct 2016 18:18:57 +0000 (11:18 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Fri, 7 Oct 2016 18:23:33 +0000 (11:23 -0700)
commit46930a2aef23cb94dbedb76477dc04733c724ad5
treee2060dc04418a88dad7611108544087a781d5be7
parentb59ee6802a2454e854a52535d31598aa967e33c0
FunctionScheduler - return whether shutdown was successful

Summary: We want to fail fast if we attempt to stop a scheduler that was not running

Reviewed By: yfeldblum

Differential Revision: D3976919

fbshipit-source-id: d8aa8b35aa9e22758e6a7ef64f48a7dd6d990b1c
folly/experimental/FunctionScheduler.cpp
folly/experimental/FunctionScheduler.h
folly/experimental/test/FunctionSchedulerTest.cpp