A flexible scheduling mechanism for user-level thread library is discussed. Although many thread libraries which schedule threads at user level are implemented, they can operate few scheduling policies. Since new applications having new scheduling policy appear, a scheduling mechanism, which can take new scheduling policy in itself and coordinate scheduling policies flexibly, would be needed. In this paper, the policy object model is proposed and the policy scheduler is introduced. The policy object model regards a scheduler as an object and the policy scheduler coordinates policy objects. Moreover, by providing users an environment for making schedulers, they can make scheduler by themselves easily. Proposed mechanism is applied on user-level thread library PPL that authors are now implementing and evaluated.
展开▼