On Sat, Jan 27, 2001 at 03:15:43PM -0500, Trent Nelson wrote:
> 
>     I'd just like to confirm that my interpretation of how kevent()
>     can be made to handle signals is correct.
> 
>     From kqueue(2):
> 
>   ...
> 
>   EVFILT_SIGNAL
>    Takes the signal number to monitor as the identifier and returns when
>    the given signal is delivered to the process.  This coexists with the
>    signal() and sigaction() facilities, and has a lower precedence.  The
>    filter will record all attempts to deliver a signal to a process, even
>    if the signal has been marked as SIG_IGN. [...]
>   
>     So if I set all appropriate signals I want to monitor to SIG_IGN, I
>     can essentially have kevent() becoming the primary signal handling
>     mechanism in my program?

Correct.
--
Jonathan


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to