Process scheduling and prioritization