Homepage | FAQ

FreeRTOS FAQ – Scheduling

This is a subsection of the full FAQ

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 state tasks that share a priority “take turns” to run.



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) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS v10.2.1 is available for immediate download. MIT licensed, includes 64-bit RISC-V, NXP Cortex-M33 demo & Nuvoton Cortex-M23 demo & STM32H745 dual core (AMP) demo.

New MIT licensed IoT MQTT and IoT Task Pool libraries now available. Includes demo projects.

View a recording of the “OTA Update Security and Reliability” webinar, presented by TI and AWS.

Careers

FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners
ARM Connected RTOS partner for all ARM microcontroller cores
Espressif ESP32
IAR Partner
Microchip Premier RTOS Partner
Renesas
STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0
Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers
OpenRTOS and SafeRTOS
Xilinx Microblaze and Zynq partner