Re: Background Process?
Re: Background Process?
- Subject: Re: Background Process?
- From: Kyle Sluder <email@hidden>
- Date: Wed, 11 Mar 2009 02:02:45 -0400
On Wed, Mar 11, 2009 at 1:53 AM, Roland King <email@hidden> wrote:
> So you just add the timer to the runloop, run it, it sleeps until the timer
> fires, does its thing and then goes back to sleep again. What am I missing?
Well, there is a sentence directly below that list that says the following:
"Because timers and other periodic events are delivered when you run
the run loop, circumventing that loop disrupts the delivery of those
events."
That sentence implies that the run loop must be run, either manually
or as the result of input coming in on an input source (which timers
are not), in order for the timer to fire.
--Kyle Sluder
_______________________________________________
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