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)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 11 Apr 2012 22:06:08 +0000 (18:06 -0400)
commit9354f2497de36d21ca5d78416041cff22517b35b
tree19e7cd9d300d90d46834740c3f7a8e424bd9143f
parent1ccfc0e3afa3de78f5b1cfda99869bb5e393ace6
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.024816 seconds and 4 git commands to generate.