Fix: consumer fd recv thread should write into non-blocking pipe
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 12 Apr 2012 01:57:31 +0000 (21:57 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 12 Apr 2012 01:57:31 +0000 (21:57 -0400)
commit04fdd819f0eebfd15a4196a9ca98e826352a9b4f
tree496106e88b37a3016974916869e0b7a3b8f235ca
parent9ef70f8738b524b8ea4f266c526de9d5a4fdc29c
Fix: consumer fd recv thread should write into non-blocking pipe

Writing into a blocking pipe will cause the writer thread to block on
the poll fds thread when the pipe is full. Given that we would like to
batch stream array reallocation as much as possible, this wakeup should
not block.

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