Clean exit cleanup of the session daemon
authorDavid Goulet <david.goulet@polymtl.ca>
Sat, 16 Jul 2011 22:05:32 +0000 (18:05 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Sat, 16 Jul 2011 22:05:32 +0000 (18:05 -0400)
commit273ea72ccbbffd1d6b9d5478923d30571d503a6c
treeffc5b5257962ad9daa92811801a692c81fe5efa4
parenteb9cb8b758bc88e9117fd0726646a7c9ae4f7984
Clean exit cleanup of the session daemon

Remove the pthread_cancel and introduce the *thread_quit_pipe* that is
used to tell a thread that it should exit cleanly. This pipe is added to
the pollfd set of the thread and has to be close in order to trigger the
clean exit of the threads.

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