Based on other posts you've done, I'm assuming you're running Windows: SetPriorityClass Function (Windows).

EDIT: And of course, based on the fact that this is actually in the Windows Programming...