On 22 Apr 2009, at 18:31, Gwynne Raskind wrote:

On Apr 22, 2009, at 12:00 AM, Jeremy W. Sherman wrote:
How about just nice(1)-ing the process doing the intense processing to be
lower-priority, and letting the scheduler sort it all out?

It's my understanding that nice() prioritization is effectively meaningless on Darwin, at least according to several open-source projects who specifically don't bother with nice()-ing when __APPLE__ is defined. Was the scheduler changed to make this untrue in 10.5?

Unless I'm very much mistaken, the last time I used it nice() prioritisation seemed to work OK on OS X, so I'm not sure where they're getting their information.

Kind regards,

Alastair.

--
http://alastairs-place.net



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to