On Sep 24, 2008, at 3:35 PM, Jason Bobier wrote:
Thanks Nick. I'm trying to avoid polling tho (since that is the
whole point of runloops and mach ports).
Take a look a message I posted a few days ago that uses a Mach port to
wake up the run loop:
<http://lists.apple.com/archives/Cocoa-dev/2008/Sep/msg01155.html>
I never got any replies, but it's working well for me. What you'd do
is install a DDRunLoopPoker and then call -pokeRunLoop in your timer
callback. That'll force
runMode:beforeDate: to return.
-Dave
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]