Implement KeepAlive in AsyncioLoopController
Summary: I'm continue to try keeping the implementation simple, instead of copy-pasting EventBase/EventBaseLoopController code. My understanding is that AsyncioExecutor/AsyncioLoopController will always be single threaded because they are tied to a unique asyncio event_loop, so I don't need an atomic counter. Then it should be cheap to just always aquire/release the counter in runLoop. Reviewed By: andriigrynenko Differential Revision: D7875202 fbshipit-source-id: 900a03e6870c5e4828521a99785cfa976baac54a
Showing
Please register or sign in to comment