(C) 1998 AROS - The Amiga Research OS


NAME

void RemTask ( task)

LOCATION
In SysBase at offset 48

SYNOPSIS
struct Task * task

FUNCTION
Remove a task from the task lists. All memory in the tc_MemEntry list is freed and a rescedule is done. It's safe to call RemTask() out of Forbid() or Disable(). This function is one way to get rid of the current task. The other way is to fall through the end of the entry point.

INPUTS
task
Task to be removed. NULL means current task.

RESULT

EXAMPLE

SEE ALSO
AddTask()

NOTES

BUGS

INTERNALS

HISTORY