Fix: honor send timeout on unix socket connect
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 13 Sep 2016 20:17:04 +0000 (16:17 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 3 Oct 2016 15:48:57 +0000 (11:48 -0400)
commit27d8df8abdd6b40203be18365146889d88a28e11
tree2466407c1e316b18fa8547f1fe7a36be894d9742
parent18f50698292ff3b917e715922cb12626212b138f
Fix: honor send timeout on unix socket connect

Needed if we want to hold the ust_lock() while we connect to the session
daemon without blocking the application forever if the session daemon is
hung on SIGSTOP.

This only triggers if we launchs _many_ applications with a session
daemon SIGSTOP'd (e.g. 1000 in parallel), so we fill the socket queue,
and applications hang there until the session daemon is SIGCONT'd.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/ust-comm.h
liblttng-ust-comm/lttng-ust-comm.c
liblttng-ust/lttng-ust-comm.c
This page took 0.024685 seconds and 4 git commands to generate.