Scheduler: Synopsis
Control the order threads are scheduled to execute single threaded code by using an object that explicitly sequences waiting threads. The Scheduler pattern provides a mechanism for implementing a scheduling policy. It is independent of any specific scheduling policy.