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

Re: Behaving "nice"(1) in the background


  • Subject: Re: Behaving "nice"(1) in the background
  • From: Greg Herlihy <email@hidden>
  • Date: Wed, 22 Feb 2006 17:37:10 -0800
  • Thread-topic: Behaving "nice"(1) in the background

Another consideration to keep in mind is whether the machine is currently
running on battery power. It's likely that the program should sharply
curtail, if not postpone completely, these background operations whenever
the computer is running off of battery power.

I would also agree that the OS will do a better job of managing CPU time
than can individual programs - and while there are few operations that help
- such as setting lowered priorities, for the most part it's best to let the
OS handle task scheduling.

Lastly, I would point out that Carbon has an idle timer which can be
configured to fire after a specified length of time has passed without any
user activity. Executing while no one is using the computer is another
user-friendly behavior.

Greg


On 2/22/06 3:30 PM, "Alexander von Below" <email@hidden> wrote:

> On 2/23/06, email@hidden <email@hidden> wrote:
> Those are good
> ideas, but depending on what you're doing, may be
> superficial.  If you're
> doing I/O, you have to worry about that far
> more than CPU
> scheduling.

Thanks for reminding me of that, because the thread is causing
> both
disk and network activity. And I know all the isssues you spoke of,
and
> keep them in mind with my design

Thanks for both of your input!

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


 _______________________________________________
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

References: 
 >Re: Behaving "nice"(1) in the background (From: "Alexander von Below" <email@hidden>)

  • Prev by Date: NSTextView and cursor
  • Next by Date: How to build a vertical palette bar and make this bar dockable?
  • Previous by thread: Re: Behaving "nice"(1) in the background
  • Next by thread: JNI and JVM Version
  • Index(es):
    • Date
    • Thread