Help Understanding CFRunLoopSourceSignal and CFRunLoopWakeUp
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