There's more than one way to do things | |
PerlMonks |
Re^9: SetPriorityClass(). An explanation of code please.by fishbot_v2 (Chaplain) |
on Mar 23, 2006 at 21:28 UTC ( [id://538881]=note: print w/replies, xml ) | Need Help?? |
What do you mean "when the program is activated"? Priority classes are an attribute of the process. You can change the priority class during the run, but you need to talk to the Win32 kernel to do that. I'm glossing, but pre-emptive multitasking will only allocate timeslices to an IDLE process when the machine would otherwise be idling. Google around on the Win32 kernel, and do some homework.
In Section
Seekers of Perl Wisdom
|
|