XDK API  3.6.0
Documentation
vTaskStartScheduler
+ Collaboration diagram for vTaskStartScheduler:

task. h

void vTaskStartScheduler( void );

Starts the real time kernel tick processing. After calling the kernel has control over which tasks are executed and when.

See the demo application file main.c for an example of creating tasks and starting the kernel.

Example usage:

void vAFunction( void )
{
    // Create at least one task before starting the kernel.
    xTaskCreate( vTaskCode, "NAME", STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
    // Start the real time kernel with preemption.
    vTaskStartScheduler ();
    // Will not get here unless a task calls vTaskEndScheduler ()
}
  

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:54 by doxygen 1.8.8