Re: Giving the CPU a break...
Re: Giving the CPU a break...
- Subject: Re: Giving the CPU a break...
- From: Ondra Cada <email@hidden>
- Date: Thu, 21 Nov 2002 15:02:42 +0100
On Thursday, Nov 21, 2002, at 05:32 Europe/Prague, Buzz Andersen wrote:
+setPriority is indeed what I'm using. I honestly have never really
noticed much appreciable difference whether it is set to 0.1 or
1--either way, my rogue loop seems to consume the processor time
voraciously :-).
The difference should be for other tasks: if the one of yours has high
priority, it would compete with them; if it has a low priority, it
would yield automatically whenever another task is ready to run.
Nevertheless, in case no other task is ready to run, your task
naturally would get all CPU it can, regardless its priority.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.