From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <48E7A01D.6000002@domain.hid> Date: Sat, 04 Oct 2008 18:55:57 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <48E76494.9030901@domain.hid> <48E787B6.5030205@domain.hid> In-Reply-To: <48E787B6.5030205@domain.hid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] gdb lockup on multi-threaded process exit List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: xenomai-core Gilles Chanteperdrix wrote: > Jan Kiszka wrote: >> +static int sigkill_pending(struct task_struct *tsk) >> +{ >> + return ((sigismember(&tsk->pending.signal, SIGKILL) || >> + sigismember(&tsk->signal->shared_pending.signal, SIGKILL)) && >> + !unlikely(sigismember(&tsk->blocked, SIGKILL))); >> +} >> + > > Posix says SIGKILL can not be blocked. Ok. This fonction already exists in Linux. Sorry for the noise. -- Gilles.