arReleaseTaskContext Function
Declaration
BOOL arReleaseTaskContext(
  struct TTaskContext FAR *TaskContext
);
Parameters
TaskContext

Pointer to the task context descriptor structure.

Return Value

Returns TRUE on success or FALSE on failure. Use the stGetLastError function to obtain extended error information.

Description

This function releases the task context and frees any associated resources (such as stack memory) that were allocated by the arCreateTaskContext function. It is essential for cleaning up architecture-specific data structures when a task is terminated.

Version:1.0
Header file:AR_API.h
See also: arCreateTaskContext, BOOL, context switching, FALSE, FAR, stGetLastError, TRUE, TTaskContext
SpaceShadow documentation