Ensure getVia(eventbase) does not busy wait
Summary: Currently, getVia(eventbase) will busy wait if no work is scheduled on the event base. Tweak the DrivableExecutor API a bit to support sleeping/wakeups. There was already a similar fix for the only other existing DrivableExecutor, the ManualExecutor, in D2906858. Reviewed By: andriigrynenko Differential Revision: D3613954 fbshipit-source-id: 9ff9f2e010040d9886fdf51a665e3afabbff57c0
Showing
Please register or sign in to comment