missing EPOLLET when we reschedule read/write

This commit is contained in:
Joris Vink 2018-08-01 12:17:16 +02:00
parent a927acb7ee
commit 03b927dd64
1 changed files with 2 additions and 2 deletions

View File

@ -224,13 +224,13 @@ kore_platform_event_schedule(int fd, int type, int flags, void *udata)
void
kore_platform_schedule_read(int fd, void *data)
{
kore_platform_event_schedule(fd, EPOLLIN, 0, data);
kore_platform_event_schedule(fd, EPOLLIN | EPOLLET, 0, data);
}
void
kore_platform_schedule_write(int fd, void *data)
{
kore_platform_event_schedule(fd, EPOLLOUT, 0, data);
kore_platform_event_schedule(fd, EPOLLOUT | EPOLLET, 0, data);
}
void