Added real-time policy support to scheduler_dequeue()