Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Re^8: SetPriorityClass(). An explanation of code please.
in thread SetPriorityClass(). An explanation of code please.

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.

  • Comment on Re^9: SetPriorityClass(). An explanation of code please.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://538881]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-19 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found