Re: [PATCH] trace-cmd: Plug startup race between flush_threads and recorders

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2010-10-15 at 13:50 +0200, Jan Kiszka wrote:
> As the SIGUSR1 handler is so far registered after forking the recorder
> child, there is a small race window where a flush sent by the main
> process can actually kill the child. Plug this by registering the signal
> handlers before the fork. This also allows to unify SIGINT registration.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>

Applied, Thanks!

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-trace-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux