Skip navigation.
 
mlRe: Giving the CPU a break...
FROM : Ondra Cada
DATE : Thu Nov 21 15:02:42 2002

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_removed>              http://www.ocs.cz
private        <email_removed>            http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlGiving the CPU a break... Buzz Andersen Nov 18, 20:04
mlRe: Giving the CPU a break... Buzz Andersen Nov 18, 23:09
mlRe: Giving the CPU a break... Kevin Elliott Nov 19, 18:33
mlRe: Giving the CPU a break... Alex Rice Nov 20, 02:05
mlRe: Giving the CPU a break... Sherm Pendley Nov 20, 05:00
mlRe: Giving the CPU a break... Ryan Stevens Nov 20, 16:57
mlRe: Giving the CPU a break... Buzz Andersen Nov 21, 05:32
mlRe: Giving the CPU a break... Ondra Cada Nov 21, 15:02