Available Languages?:

OSA : OS_Sched

OS_Sched ()

Examine all tasks, select ready task with highest priority and run it. Should be called from infinite loop in main(). It is recommended to use OS_Run() instead.

Call allowed:

Only in main()

Parameters:

None

Returns:

nothing

Example:

void main (void)
{
    OS_Init();
    OS_Task_Create(...);
 
    for (;;) {
        OS_Sched ();
    }
}

See also

 
en/osa/ref/allservices/os_sched.txt · Last modified: 07.10.2010 13:57 (external edit)
 
Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki