mtcp-stack / mtcp

mTCP: A Highly Scalable User-level TCP Stack for Multicore Systems
Other
1.99k stars 436 forks source link

epoll "forgets" events that are not edge triggered. #297

Open johalun opened 4 years ago

johalun commented 4 years ago

I have a problem where I need to run mtcp_epoll_ctl before each mtcp_epoll_wait because it only generates one event for a writeable socket, kind of what you'd expect from a edge triggered event.

Looking through the code now to see if I can patch it temporarily.