Modifying thread priorities.