projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
FunctionScheduler - return whether shutdown was successful
[folly.git]
/
folly
/
experimental
/
FunctionScheduler.h
diff --git
a/folly/experimental/FunctionScheduler.h
b/folly/experimental/FunctionScheduler.h
index e5514596c0a6c1afdba58d28447e4812140e9576..1668c501e6aef35d6086b51660aa25257c7aaa70 100644
(file)
--- a/
folly/experimental/FunctionScheduler.h
+++ b/
folly/experimental/FunctionScheduler.h
@@
-177,8
+177,9
@@
class FunctionScheduler {
* Stops the FunctionScheduler.
*
* It may be restarted later by calling start() again.
+ * Returns false if the scheduler was not running.
*/
-
void
shutdown();
+
bool
shutdown();
/**
* Set the name of the worker thread.