• 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
Re: preventing delivery of Signals.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: preventing delivery of Signals.


  • Subject: Re: preventing delivery of Signals.
  • From: Marcel Weiher <email@hidden>
  • Date: Thu, 14 Feb 2002 12:12:25 +0100

On Thursday, February 14, 2002, at 09:43 AM, Eric Seidel wrote:

The problem arises that I have a multithreaded application (only 2 threads) and the SIGPIPE signal seems to get delivered to the PROCESS and not the THREAD.

Yes, this is how it works in Darwin/OS X.

when I tried signal(SIGPIPE, SIG_IGR) or sigignore(SIGPIPE), or even sigaction(...) to ignore the signal from one thread, it still got delivered... and I got stopped in the debugger.

Beware of the debugger. I think it will 'see' signals even if your program is ignoring them.

Marcel

--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >preventing delivery of Signals. (From: Eric Seidel <email@hidden>)

  • Prev by Date: Re: Seemingly ridiculous problem...
  • Next by Date: Re: NSMutableData not playing ball
  • Previous by thread: preventing delivery of Signals.
  • Next by thread: Re: preventing delivery of Signals.
  • Index(es):
    • Date
    • Thread