| N F O _ S T A C K R E P O R T ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English AMIGA - NFO_#?
----------------------------------------------------------------------------
NAME
nfo_stackreport() - Reports how much stack is free per
task.
SYNOPSIS
freestack = nfo_stackreport(addr);
LONG nfo_stackreport(ULONG);
FUNCTION
With this function it is possible to obtain information
about the free stack of any task.
INPUTS
addr - Address of a task, 0 = current task.
RETURNS
Returns free stack, if value is negative then it may mean
that the task code is trashed.
BASES
SysBase
NOTES
It is wise to check if particular task has the stack at
all with 'nfo_stackvalid()'.
Do not call this function from pseudo-interrupts(private
task exceptions)!
This function utilises SIGF_SINGLE and also does the
atomic context swap, so it may break 'Forbid()'!
SEE ALSO
nfo_stackvalid()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |