BOOL osStart(void);
Returns TRUE on success or FALSE on failure. Call the osGetLastError function to obtain extended error information.
This function starts the execution of the operating system.
Upon calling osStart, the system begins operation immediately. The operating system can be stopped at any time using the osStop function. When stopped, all tasks are suspended and program execution resumes from the first instruction following the osStart call that originally initiated system execution. While the system is stopped, interrupts continue to be serviced. Operations performed on system objects will still execute successfully and data will be queued in buffers, but tasks will not be scheduled for execution. When osStart is called again, the scheduler resumes and determines which task should run.
A call to this function must be preceded by system initialization via the osInit function. This function fails if the system is already running.
| Version: | 1.0 |
|---|---|
| Header file: | OS_API.h |
| See also: | BOOL, FALSE, osInit, osGetLastError, osStop, scheduling, TIME, TRUE |