• 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
Help Understanding CFRunLoopSourceSignal and CFRunLoopWakeUp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help Understanding CFRunLoopSourceSignal and CFRunLoopWakeUp


  • Subject: Help Understanding CFRunLoopSourceSignal and CFRunLoopWakeUp
  • From: Francisco Tolmasky <email@hidden>
  • Date: Tue, 19 Jan 2010 19:03:30 -0800

Hi,

I have an application that is using a custom CFRunLoopSource (CFRunLoopSourceCreate), however I am not sure about the appropriate way it should be used. Specifically, I don't know whether I am supposed to call CFRunLoopWakeUp after calling CFRunLoopSourceSignal or not. If I get into a situation where there are no other source signaling, will leaving out CFRunLoopWakeUp potentially leave the RunLoop hanging indefinitely (I called runMode:beforeDate:[NSDate distantFuture]). I've tried to find some more in depth documentation beyond Apple's on run loop sources but haven't been able to find much, and nothing that helps me understand the difference (or relationship) between signaling and waking up.

Thanks,

Francisco

_______________________________________________

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: Help Understanding CFRunLoopSourceSignal and CFRunLoopWakeUp
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: NSDictionary trouble
  • Next by Date: Re: MKPinAnnotationView callout behind other pins
  • Previous by thread: Re: NSTableView Column Header Restrictions?
  • Next by thread: Re: Help Understanding CFRunLoopSourceSignal and CFRunLoopWakeUp
  • Index(es):
    • Date
    • Thread