Re: signal handling

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

 



What i think Talib wants is to catch specific signal signal_pending(current) will return true if *any* signal is pending for this process. What Talib wants is a function like spec_signal_pending(current, SIGTERM) for example looking to definition of struct sigpending at:
http://lxr.linux.no/source/include/linux/signal.h#L28
which is part of task_struct, can we check the struct "sigpending" looking for the signal we are interested
in any one CMIIW please

You are correct.

I was wondering if there is a standard practice of soing this?

Usman

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux