Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

task scheduler - xQueueSend

Posted by rirititi on July 7, 2016

A little question about the freeRTOS task scheduler:

Is the task scheduler called inside or just after the xQueueSend function or is the call done at the next system tick?

Thank you,


task scheduler - xQueueSend

Posted by rtel on July 7, 2016

Assuming you have configUSE_PREEMPTION set to 1, then a context switch is performed immediately that a task with a priority above that of the currently executing task becomes able to run. That means, if a lower priority task unblocks a higher priority task by calling xQueueSend() then the context switch will occur inside the xQueueSend() function.


task scheduler - xQueueSend

Posted by rirititi on July 7, 2016

Thank you for your fast answer.


task scheduler - xQueueSend

Posted by rirititi on July 7, 2016

Thank you for your fast answer.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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