• 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
Behaving "nice"(1) in the background
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Behaving "nice"(1) in the background


  • Subject: Behaving "nice"(1) in the background
  • From: "Alexander von Below" <email@hidden>
  • Date: Wed, 22 Feb 2006 23:47:36 +0100

Hello fellow Cocoa developers,

our application has some relatively time consuming maintenance to do
at times, and we want to give the user to do this "in the background".

In that case, what concerns me most is that this is as unobstrusive as
possible - the time it takes is not really important.

Are there any other ideas besides calling setpriority(2)? What would
be a good indication when the user is "idle", or can I find out when I
should rather wait with my processing and yield time to other apps?

Any other hints on keeping my own CPU usage (using NSThreads) low are
appreciated.

Thanks

Alex
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Behaving "nice"(1) in the background
      • From: "Shawn Erickson" <email@hidden>
  • Prev by Date: Re: NSUserDefaults for portable applications
  • Next by Date: Re: Behaving "nice"(1) in the background
  • Previous by thread: Re: NSMailDelivery
  • Next by thread: Re: Behaving "nice"(1) in the background
  • Index(es):
    • Date
    • Thread