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)
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>

No differences found
This page took 0.024651 seconds and 4 git commands to generate.