;
Michael González Harbour
[1]
Santander, España
, Manuel Díaz Rodríguez
, Michael González Harbour
, Margarita Marcos Muñoz
, Juan Antonio de la Puente Alfaro
, 2004In previous papers we had presented an application program interface (API) that enabled applications touse application-defined scheduling algorithms in a waycompatible with the scheduling model defined in POSIX.This paper presents a new more general API with three mainenhancements. First, the application scheduler is describedas an abstract object that needs not be implemented as athread, thus potentially increasing efficiency in some operating system architectures. Second, we define an abstractnotion of urgency that is used by the kernel to order thethreads in the scheduling queue, freeing the applicationscheduler of the responsibility of keeping the desired ordering of threads, and thus simplifying it and reducing overhead. In third place, we also consider thread synchronization through mutexes by adding the Stack Resource Policyor the Priority Inheritance Policy adapted to the generalizedconcept of urgency, both of which can be used in a large variety of fixed and dynamic priority scheduling policies without explicit intervention of the application scheduler.
© 2008-2026 Fundación Dialnet · Todos los derechos reservados