X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2Ffibers%2FFiberManagerInternal.h;h=28c74db641d97178f58fab32cda8b6456a7414a3;hp=dc0c3e6c8352573b4de3a8b177a630b0ae0ff7e9;hb=4f2c98ac2540ef83b1c8cb4d40110da33ef5125c;hpb=d2c8a36b6b96eea44e9e92fa6946d607f8530b07 diff --git a/folly/fibers/FiberManagerInternal.h b/folly/fibers/FiberManagerInternal.h index dc0c3e6c..28c74db6 100644 --- a/folly/fibers/FiberManagerInternal.h +++ b/folly/fibers/FiberManagerInternal.h @@ -155,10 +155,13 @@ class FiberManager : public ::folly::Executor { /** * Keeps running ready tasks until the list of ready tasks is empty. - * - * @return True if there are any waiting tasks remaining. */ - bool loopUntilNoReady(); + void loopUntilNoReady(); + + /** + * This should only be called by a LoopController. + */ + void loopUntilNoReadyImpl(); /** * @return true if there are outstanding tasks.