mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-02 11:35:46 +00:00
9d2e835d14
Extending and improving both the structure and the trait allows for more flexibility regarding what can be achieved with the epoll loop. It allows for a timeout to be configured instead of the default blocking behavior. There is a new method in the trait to notify the caller that the timeout has been reached. And there's a new knob to be notified with the full list of events before the internal code will actually loop over every event. All of these new features are not affecting the previous behavior, and using EpollHelper::run() should be unchanged. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |