• 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: Greg Guerin <email@hidden>
  • Date: Wed, 25 Mar 2009 13:28:33 -0700

Påhl Melin wrote:

Why can't Unix be a "modern" OS with dynamically allocated
and named signals? :-)

Because if you want that kind of flexibility, you're expected to provide it yourself, using your knowledge of what will be the best and most scalable use of available computer resources.


That means use a library or use another OS feature, like the pipes already mentioned. You could also use UDP sockets and send datagrams on lo0 (localhost loopback). You can also create Unix-domain sockets (essentially, sockets whose name is a file-system path), and use those.

If you're only thinking in terms of signals and signal-handlers, you should broaden your view of what the OS provides and how it can be used. There are questions of latency, throughput, scale, etc. that only you can answer for your application, and then choose the most suitable representation. One size does not fit all.

  -- GG

_______________________________________________

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


  • Prev by Date: Re: Implementing a many-to-many ("reflexive") relationship using bindings and an NSTableView
  • Next by Date: RE: 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: Uniquely identifying mounted volumes.
  • Index(es):
    • Date
    • Thread