Hi,
I have a kernel module foo that uses kernel thread bar. With
signal_pending() I can easily check whether or not thread has
pending signals, but what's the correct way to check for the
specific signal number(s)?
--
// Janne
Janne Karhunen wrote:
> Hi,
>
> I have a kernel module foo that uses kernel thread bar. With
> signal_pending() I can easily check whether or not thread has
> pending signals, but what's the correct way to check for the
> specific signal number(s)?
I am not pretty sure, but spinlock;dequeue_signal;spinunlock; should work.
regards,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E