Quality RTOS & Embedded Software

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


Blocking calls on timer callback functions

Posted by rzingler on October 24, 2017

Hello, I would like to have a better understanding of the side effects on using blocking calls from inside software timers callback functions. I guess one of the conssequences is a delay on executing the next timer event, since all events are processed on a single task, right? But, besides this delay, are there any other side effects that can disrupt code execution?


Blocking calls on timer callback functions

Posted by richard_damon on October 24, 2017

The biggest effect is that it can delay other timer/pended function events.

A second possible effect is that it blocks the timer task from processing its queue, so if too many tasks queue up new requests those will block, and possibly timeout.

Blocking calls on timer callback functions

Posted by rtel on October 24, 2017

If the timer task is blocked it will not be removing items from the timer command queue, so the queue could get full.

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

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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 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.


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


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