Quality RTOS & Embedded Software

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




Loading

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?

Thanks.


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