Fix: force the poll() return value to be nb_fd
authorDavid Goulet <dgoulet@efficios.com>
Mon, 17 Dec 2012 17:19:56 +0000 (12:19 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 17 Dec 2012 17:45:50 +0000 (12:45 -0500)
With poll(), we have to iterate over all fd in the pollset since it is
handled in user space where we don't have to with epoll.o

This is a first patch to fix the fact that we should iterate over the
number of fd the lttng_poll_wait() call returns which is for epoll the
number of returned events and with poll the whole set of fd.

Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>

No differences found
This page took 0.024903 seconds and 4 git commands to generate.