Quality RTOS & Embedded Software

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


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 ]    [ Privacy ]    [ Sitemap ]    [ ]


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

Latest News

Version 10.1.0 of the FreeRTOS kernel is available for immediate download. MIT licensed.

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

RTOS partner of NXP for all NXP ARM microcontrollers

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