• 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: signal(SIGUSR2, SIG_IGN) not respected by Xcode/GDB?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: signal(SIGUSR2, SIG_IGN) not respected by Xcode/GDB?


  • Subject: Re: signal(SIGUSR2, SIG_IGN) not respected by Xcode/GDB?
  • From: Påhl Melin <email@hidden>
  • Date: Wed, 25 Mar 2009 14:49:06 +0100

2009/3/25 Benjamin Stiglitz <email@hidden>:
>> I'm not completely satisfied using signals (especially since they are
>> not dynamically allocated and I may want to use more in the future)
>> but signals was the lowest level alternative I could think about. This
>> code will be used _very_ frequently and I want to use the lowest
>> possible level, mainly for performance reasons but also for ease of
>> setup. And signals seems like a reasonable alternative considering
>> this.
>
> A pipe is the canonical way to tickle a thread waiting select/poll/kqueue.
> You can rest assured that pipes are quite performant.

Thanks Ben. I will take a closer look at pipes. They have the
additional advantage of being more flexible than fixed allocated
signals. (Why can't Unix be a "modern" OS with dynamically allocated
and named signals? :-)

/ Påhl
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: signal(SIGUSR2, SIG_IGN) not respected by Xcode/GDB?
      • From: Benjamin Stiglitz <email@hidden>
References: 
 >signal(SIGUSR2, SIG_IGN) not respected by Xcode/GDB? (From: Påhl Melin <email@hidden>)
 >Re: signal(SIGUSR2, SIG_IGN) not respected by Xcode/GDB? (From: Ken Thomases <email@hidden>)
 >Re: signal(SIGUSR2, SIG_IGN) not respected by Xcode/GDB? (From: Påhl Melin <email@hidden>)
 >Re: signal(SIGUSR2, SIG_IGN) not respected by Xcode/GDB? (From: Benjamin Stiglitz <email@hidden>)

  • Prev by Date: Re: signal(SIGUSR2, SIG_IGN) not respected by Xcode/GDB?
  • Next by Date: Implementing a many-to-many ("reflexive") relationship using bindings and an NSTableView
  • Previous by thread: Re: signal(SIGUSR2, SIG_IGN) not respected by Xcode/GDB?
  • Next by thread: Re: signal(SIGUSR2, SIG_IGN) not respected by Xcode/GDB?
  • Index(es):
    • Date
    • Thread