Oberon ||
Library ||
Module Index ||
Search Engine ||
Definition ||
Module
Ulm's Oberon Library:
RoundRobin
NAME
RoundRobin - round robin scheduler
SYNOPSIS
TYPE TaskGroup = POINTER TO TaskGroupRec;
TYPE TaskGroupRec = RECORD (Schedulers.TaskGroupRec) END;
TYPE Task = POINTER TO TaskRec;
TYPE TaskRec = RECORD (Schedulers.TaskRec) END;
PROCEDURE CreateTaskGroup(VAR tg: Tasks.TaskGroup);
DESCRIPTION
CreateTaskGroup
creates and returns a task group which is managed
by a round robin scheduler,
i.e. tasks must suspend themselves explicitely
and the task which is ready and has not been executed
for the longest time will be executed next.
SEE ALSO
- Schedulers
-
general scheduler interface which provides routines
for adding tasks to a task group and for starting the scheduler.
- SysMain
-
creates the main task group on base of RoundRobin
- Tasks
-
offers routines which allow to suspend, or to
wait for a given set of conditions or to terminate
the current task.
Edited by: borchert, last change: 1995/12/18, revision: 1.2, converted to HTML: 1997/04/28
Oberon ||
Library ||
Module Index ||
Search Engine ||
Definition ||
Module