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.
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 mails | Author | Date |
|---|---|---|
| Buzz Andersen | Nov 18, 20:04 | |
| Buzz Andersen | Nov 18, 23:09 | |
| Kevin Elliott | Nov 19, 18:33 | |
| Alex Rice | Nov 20, 02:05 | |
| Sherm Pendley | Nov 20, 05:00 | |
| Ryan Stevens | Nov 20, 16:57 | |
| Buzz Andersen | Nov 21, 05:32 | |
| Ondra Cada | Nov 21, 15:02 |






Cocoa mail archive

