From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <48E787B6.5030205@domain.hid> Date: Sat, 04 Oct 2008 17:11:50 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <48E76494.9030901@domain.hid> In-Reply-To: <48E76494.9030901@domain.hid> Content-Type: text/plain; charset=ISO-8859-15 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 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. -- Gilles.