IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


Task Creation Error Codes

Here are the subset of RTX API error codes which can result from the task creation API RTX_NewTaskErr().

The legacy API RTX_Create_Task(), RTX_Create_Task_Without_Run(), RTX_Param_Task() and RTX_Param_Task_Without_Run() may also output these error codes.

Error Code

Symbolic Constant

Problem Description

-8

RTX_EC_NO_SUCH_PROCESS

The program making this call is in the process of being removed from system. No further task creation is therefore permitted by this program.

-18

RTX_EC_NO_FREE_TCB

System has ran out of resources needed to create this new task. This could be due to either the supply of 500 kernel objects has been exhausted or there is insufficient system heap memory available for the new Task Control Block (TCB). The console MEM command can be used to resolve the cause of this error.

-60

RTX_EC_INVALID_PTR

Either the provided stack pointer or vector to the task references memory which does not belong to this calling program.

-61

RTX_EC_INVALID_BUFFER_SIZE

The stack size specified was less than the 1024 byte minimum. (A second source for this error is that this API was called from an ISR. It must be called only from a task's context.)






Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:35 2017 by Doxygen 1.6.1