Always use edge-triggered events.

This commit is contained in:
Sönke Ludwig 2016-01-16 14:48:43 +01:00
parent 47c16c65cc
commit 52c74e6633

View file

@ -70,6 +70,7 @@ final class EpollEventDriver : PosixEventDriver {
{
//print("update %s %s", fd, mask);
epoll_event ev;
ev.events |= EPOLLET;
//ev.events = EPOLLONESHOT;
if (mask & EventMask.read) ev.events |= EPOLLIN;
if (mask & EventMask.write) ev.events |= EPOLLOUT;