• 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
CFRunLoopRun() and processing posix signals
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CFRunLoopRun() and processing posix signals


  • Subject: CFRunLoopRun() and processing posix signals
  • From: Philippe Strauss <email@hidden>
  • Date: Tue, 23 Nov 2010 18:55:37 +0100

Hello Cocoa developpers,

When using a CFRunLoopRun() event loop in a non-GUI daemon, what kind of resource and handler do you need to add to the loop for beeing able to process signals (unix signals) and not beeing stuck in:

(gdb) bt
#0 0x00007fff815592da in mach_msg_trap ()
#1 0x00007fff8155994d in mach_msg ()
#2 0x00007fff83f87932 in __CFRunLoopRun ()
#3 0x00007fff83f86dbf in CFRunLoopRunSpecific ()
#4 0x00007fff83f86b46 in CFRunLoopRun ()
#5 0x00000001000017af in main (argc=0, argv=0x7fff5fbfe418) at jackond.cpp:331
_______________________________________________


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: CFRunLoopRun() and processing posix signals
      • From: "A.M." <email@hidden>
  • Prev by Date: Re: Recommendation: Post *neat* code to this list
  • Next by Date: Re: CFRunLoopRun() and processing posix signals
  • Previous by thread: Re: Recommendation: Post *neat* code to this list
  • Next by thread: Re: CFRunLoopRun() and processing posix signals
  • Index(es):
    • Date
    • Thread