Cygwin: Fix fd hangup in thread_manage_apps of sessiond
authorChristian Babeux <christian.babeux@efficios.com>
Mon, 3 Dec 2012 03:09:28 +0000 (22:09 -0500)
committerChristian Babeux <christian.babeux@efficios.com>
Fri, 7 Dec 2012 20:17:55 +0000 (15:17 -0500)
commit268ec049968538c7a3176159fc992b07ebe69af1
treec45310d8cd2bfa5adbd9c22c52e640affa66672f
parent3b1ddb0b6e3ca2273ef45fbd1b4ad24a0ed14685
Cygwin: Fix fd hangup in thread_manage_apps of sessiond

The fd hangup is not properly detected in the thread that manage
applications in the sessiond.

A read is done on the fd and if we encounter EOF, we force the
removal of the fd from the set.

Signed-off-by: Christian Babeux <christian.babeux@efficios.com>
src/bin/lttng-sessiond/main.c
This page took 0.025275 seconds and 4 git commands to generate.