void vTaskStartScheduler( void );
Starts the RTOS scheduler. After calling the RTOS kernel has control over which tasks are executed and when.
The idle task and optionally the
timer daemon task are created automatically when the RTOS scheduler is started.
vTaskStartScheduler() will only return if there is insufficient RTOS heap available
to create the idle or timer daemon tasks.
All the RTOS demo application projects contain examples of using vTaskStartScheduler(), normally
in the main() function within main.c.
void vAFunction( void )
// Tasks can be created before or after starting the RTOS
// Start the real time scheduler.
// Will not get here unless there is insufficient RAM.
Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2013 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd..
See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.