void vTaskStartScheduler( void );
Starts the RTOS kernel tick processing. After calling the RTOS kernel has control over which tasks are executed and when.
The idle task is created automatically when vTaskStartScheduler() is called.
If vTaskStartScheduler() is successful the function will not return.
The function might fail and return immediately if there is insufficient RAM available for the idle task to be created.
See the demo application file main. c for an example of creating tasks and starting the RTOS kernel.
void vAFunction( void )
// Create at least one task before starting the RTOS kernel.
xTaskCreate( vTaskCode, "NAME", STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
// Start the real time kernel with preemption.
// Will not get here unless a task calls vTaskEndScheduler ()
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.