Quality RTOS & Embedded Software

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


Multiple Calls to task_resume

Posted by jabad06 on November 23, 2013

Hello: I currently have a system where an interrupt is calling taskresume to resume my task. I am having issues where the system would hang and one of my suspicions is the call to taskresume. My question is what were to happen if there were multiple calls to task_resume even though the task is currently running? The documentation online doesn't clearly state whether or not this is allowed.

Multiple Calls to task_resume

Posted by rtel on November 23, 2013

There should be no problem with attempting to resume a task that is not suspended.

Are you using the resume mechanism to inform a task of when there is processing to do, as you might otherwise do with a semaphore? If so, then please read the notes on why that is not a good idea on the API documentation page: http://www.freertos.org/taskresumefromisr.html


[ 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