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)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 16 Apr 2012 15:27:27 +0000 (11:27 -0400)
commit5a4b955ed97bb0802977e50f1aa409f0bb4729ec
tree11fd55a765b3eb934d17ac1c57fb81c3b188b7bd
parent8cf66a2b6551d770a8aedf1301bcec2270041785
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.026442 seconds and 4 git commands to generate.