(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/exec.h>

void Reschedule (task)

LOCATION
In SysBase at offset 8

SYNOPSIS
struct Task * task

FUNCTION
Reschedule will place the task into one of Execs internal task lists. Which list it is placed in will depend upon whether the task is ready to run, or whether it is waiting for an external event to awaken it.

It is possible that in the future, more efficient schedulers will be implemented.

INPUTS
task
The task to insert into the list.

RESULT
The task will be inserted into one of Exec's task lists.

EXAMPLE

SEE ALSO

NOTES
Not actually complete yet. Some of the task states don't have any supplied action.

BUGS
Only in relation to the comments within about low-priority tasks not getting any processor time.

INTERNALS

HISTORY
22.12.1998 bergers
Ready-tasks are enqued in the list now.
16.12.1998 bergers
Added comment of how ist should be done if it worked correctly.
15.12.1998 bergers
Fixed the multitasking bug for now. Added some more comments.
20.10.1998 hkiel
Amiga Research OS
05.08.1997 iaint
Kernel Changes - These are mostly functions which are normally implemented by the kernel, but might not be.