• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
EVFILT_SIGNAL - observe "standard" signals before they are delivered?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EVFILT_SIGNAL - observe "standard" signals before they are delivered?


  • Subject: EVFILT_SIGNAL - observe "standard" signals before they are delivered?
  • From: Jim Correia <email@hidden>
  • Date: Wed, 5 Sep 2007 15:00:55 -0400

The man page says:

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() facili-
ties, 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. Event notification
happens after normal signal delivery processing. data
returns the number of times the signal has occurred since
the last call to kevent(). This filter automatically sets
the EV_CLEAR flag internally.


Am I interpreting that correctly to mean that a signal whose default behavior is process termination (SIGSEGV, for example) will not be observable by the kevent mechanism?

Thanks,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: EVFILT_SIGNAL - observe "standard" signals before they are delivered?
      • From: Terry Lambert <email@hidden>
  • Prev by Date: Re: Poor performance of pthreads across cpu dies.
  • Next by Date: Re: Poor performance of pthreads across cpu dies.
  • Previous by thread: Re: Localizing POSIX errno messages.
  • Next by thread: Re: EVFILT_SIGNAL - observe "standard" signals before they are delivered?
  • Index(es):
    • Date
    • Thread