Commit bc7cca6d authored by Philippe Gerum's avatar Philippe Gerum
Browse files

evl/poll: always signal POLLIN|POLLRDNORM combined


Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
parent b8ee27d8
......@@ -598,7 +598,7 @@ static void timerfd_handler(struct evl_timer *timer) /* hard IRQs off */
timerfd = container_of(timer, struct evl_timerfd, timer);
timerfd->ticked = true;
evl_signal_poll_events(&timerfd->poll_head, POLLIN);
evl_signal_poll_events(&timerfd->poll_head, POLLIN|POLLRDNORM);
evl_flush_wait(&timerfd->readers, 0);
}
......
......@@ -281,7 +281,8 @@ static int exit_monitor(struct evl_monitor *gate)
/* Wake up threads polling the condition too. */
list_for_each_entry(event, &polled, next)
evl_signal_poll_events(&event->poll_head, POLLIN);
evl_signal_poll_events(&event->poll_head,
POLLIN|POLLRDNORM);
}
__exit_monitor(gate, curr);
......@@ -420,7 +421,8 @@ static int signal_monitor_ungated(struct evl_monitor *event, s32 sigval)
}
if (pollable)
evl_signal_poll_events(&event->poll_head, POLLIN|POLLRDNORM);
evl_signal_poll_events(&event->poll_head,
POLLIN|POLLRDNORM);
evl_schedule();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment