Re: Best pattern to follow for scheduling an event
Re: Best pattern to follow for scheduling an event
- Subject: Re: Best pattern to follow for scheduling an event
- From: j o a r <email@hidden>
- Date: Thu, 8 Nov 2007 10:18:06 -0800
On Nov 8, 2007, at 10:05 AM, John Stiles wrote:
I have a method that needs to schedule a "cleanup pass" to occur in
the near future. The method might be called once, ten times, or a
hundred times in a row, but I only need to clean up one time. To
implement this, I used the following pattern, and I'm wondering if
it was the best way to go.
Have you considered using a coalescing NSNotificationQueue and
NSPostASAP?
j o a r
_______________________________________________
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