Homepage | FAQ

FreeRTOS FAQ - Scheduling

How are tasks of equal priority scheduled?
How are tasks that share the idle priority scheduled?


FAQ Top



How are tasks of equal priority scheduled?

Round robin - ready tasks of equal priority "take turns".



How are tasks that share the idle priority scheduled?

As per tasks that share any other priority. However, the configIDLE_SHOULD_YIELD configuration constant can be used to force the idle task to yield after a single iteration of its loop if other idle priority application tasks are able to run.







Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2012 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOS 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..