(C) 1998 AROS - The Amiga Research OS


NAME

struct ArpResList * CreateTaskResList ()

LOCATION
In ArpBase at offset 78

SYNOPSIS
ResList = CreateTaskResList(
D0 / Z Flag

FUNCTION
Create a new Resource list for this task, and insert it at the HEAD of the ResourceArray list.

You do not normally need to use CreateTaskResList, because the functions which insert tracked items into the task reslist will automaticly create a reslist if one did not exist before.

This function may be used to explictly create a nested ResList for this task; all resources allocated after CreateTaskReslist will be stored in the new ResList until you call FreeTaskResList. This would allow you, for instance, to call CreateTaskResList at the start of a function, and FreeTaskResList at the end of the function, and any resources tracked in the interum would be freed; but all other tracked resources for the task would remain tracked.

All Task reslists will also be automaticly freed when you call

INPUTS
RESULT

EXAMPLE
SEE ALSO

NOTES

BUGS
None known. Current implementation will change slightly when SyncRun is added to arp.library

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
28.03.1998 bergers
Some new functions.