osStart function
Declaration:
BOOL osStart(void);
Return value:

TRUE on success or FALSE on failure. Use osGetLastError function to obtain extended error information.

Description:

Function starts the operating system execution.

When the osStart is called, the system starts immediately. There is a possibility to stop the operating system in any time with osStop function. This time all tasks are stopped and the code is continued from the first instruction after the call of osStart, which started the system execution. When the system execution is stopped the interrupts are still serviced. All operations performed on the system object are executed successfully, data is queued in buffers but the task will not be executed. When the osStart is called again, the scheduler is executed and decides which task should run.

This function must be preceded by system initialization that is done be osInit function call. Function fails, when system is already running.

Version:1.0
Header file:OS_API.h
See also: BOOL, FALSE, osInit, osGetLastError, osStop, scheduling, TIME, TRUE
SpaceShadow documentation