General Info

Interface: UserSpaceManagerE
Files:
Last change: 10/05/2003
Author: Luiz Henrique Shigunov
Description
Functions

0x00 - TaskCreated - Signal that a task was created

0x01 - TaskDestroyed - Signal that a task was destroyed

Description

This page describes the UserSpaceManagerE interface.

A module only needs to implement the functions it needs.

0x00 - TaskCreated

Syntax

void UserSpaceManagerE_TaskCreated(TaskManager_Task *creator, TaskManager_Task *created);

Properties

Description

This function is called every time a task is created using Run/URun function from UserSpaceManager interface.

It's called before task created, created by creator, starts executing.

Return value

Nothing.

0x01 - TaskDestroyed

Syntax

void UserSpaceManagerE_TaskDestroyed(TaskManager_Task *task, UserSpaceManager_ExitInfo *exitInfo);

Properties

Description

This function is called every time a task created using Run/URun function from UserSpaceManager interface is destroyed.

It's called before task is destroyed and should be used by modules to free task's resources (open files, buffers, etc).

exitInfo tells why the task was destroyed.

Return value

Nothing.