Fix missing events for all threads pollfd struct
authorDavid Goulet <david.goulet@polymtl.ca>
Thu, 8 Sep 2011 14:35:11 +0000 (10:35 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Thu, 8 Sep 2011 14:35:11 +0000 (10:35 -0400)
commit856117389ea3a46acbefdc4a27b9f4f8b1cf5179
tree498c25739dd2da8eb69cce732056c92b6d7e91a5
parent733bb3da0f1ef5005ffe5df7811875e737cb3414
Fix missing events for all threads pollfd struct

The thread_quit_pipe event field of the pollfd was not set nor zeroed.
At high rate UST registration and modifying the pollfd set frequently,
the session daemon hang on the poll() call even if the thread_quit_pipe
was closed and explain by poll() "undefined behavior".

Also add a MSG() and ERR() statement after some errors.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
ltt-sessiond/main.c
This page took 0.03305 seconds and 4 git commands to generate.