Implement LoopKeepAlive for EventBase
Summary: LoopKeepAlive can be useful to tell EventBase, that loop() shouldn't return even if there are no events registered, because some tasks will later be added via runInEventBaseThread. While at least one LoopKeepAlive is alive - EventBase::loop() behaves like EventBase::loopForever(). Reviewed By: yfeldblum Differential Revision: D3261706 fb-gh-sync-id: d91424d3d12cae11abd72cffdbd57f136f628dae fbshipit-source-id: d91424d3d12cae11abd72cffdbd57f136f628dae
Showing
Please register or sign in to comment