Fix consumer lttng_consumer_poll_socket poll revents check bug
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 11 Apr 2012 22:06:08 +0000 (18:06 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 16 Apr 2012 15:27:16 +0000 (11:27 -0400)
commit3654a23ff4d32ecb2b70142dcfd0328df2fe73fb
tree57942f4548906c7382d0c1741adba15593d033d6
parentc1e57b6809e7eee904ed0254027f507be49ce21d
Fix consumer lttng_consumer_poll_socket poll revents check bug

Was causing the sessiond to fail to receive streams under heavy load,
because this test needs to be done with a mask rather than equality.
Testing equality was failing as soon as POLLPRI (or any other flag) was
set.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/common/consumer.c
This page took 0.025731 seconds and 4 git commands to generate.