Fix lttng sessiond spawn wait race
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 25 Jan 2012 14:39:28 +0000 (09:39 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 25 Jan 2012 14:39:28 +0000 (09:39 -0500)
commit5a532b6873b6d619381c0188b91e48106e639808
treef857d624faca4405bb1962bf8f1b6111d6e7a0a3
parentba2926efa2f16966165993d654f99574c3624ef4
Fix lttng sessiond spawn wait race

If the child is scheduled before the parent, using "pause()" in the
parent could be executed after the signal has been handled: that's
entirely racy. Use a proper signal handler and flag to handle this
racelessly.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/bin/lttng/lttng.c
This page took 0.024992 seconds and 4 git commands to generate.