• 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
Re: NSScroller and Periodic Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScroller and Periodic Events


  • Subject: Re: NSScroller and Periodic Events
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 10 Mar 2010 11:44:05 -0800

On Wed, Mar 10, 2010 at 11:20 AM, Abhinay Kartik Reddyreddy
<email@hidden> wrote:
> In case i should not use periodic events, how is an idle time task handled in cocoa...?? In carbon i would say WaitNextEvent and if the return was null i would perform my idle time task..... Is there any design pattern for idle time tasks....??

The typical answer is "don't use them." Use a background thread or a
runloop source instead.

--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

References: 
 >NSScroller and Periodic Events (From: Abhinay Kartik Reddyreddy <email@hidden>)

  • Prev by Date: Can you obtain the NSRuleEditor localized display?
  • Next by Date: Possible leak?
  • Previous by thread: NSScroller and Periodic Events
  • Next by thread: Can you obtain the NSRuleEditor localized display?
  • Index(es):
    • Date
    • Thread