ccb052a418422b9dc9579699c103633c92a66bdd
In many cases, we can guess the result of an epoll_wait() before it happens: - if a read() or write() consumes the entire buffer, a following call will likely succeed (and if it doesn't, it likely won't) - after an accept() completes, a write() will likely succeed Speculatively add these events to events_known; if we mispredict and fail with EAGAIN, all we need to do is retry.
Description
No description provided
Languages
C++
72.7%
Python
26.1%
CMake
0.3%
GAP
0.3%
Shell
0.3%