Quality RTOS & Embedded Software

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




Loading

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

Regards.


[ 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