Quality RTOS & Embedded Software

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




Loading

Must xQueueSendFromISR wake a task?

Posted by Jeff Henshaw on July 3, 2008
In V5.0.2, what would happen if I ignored the fact that a higher priority task were woken by xQueueSendFromISR?

The reason I ask is that I'm logging errors, which can occur during an ISR. The error logging routine then detects that it's in an ISR and calls xQueueSendFromISR rather than xQueueSend(). I don't have any (good) way to return the task woken status back to the ISR, and there's no way to handle the task switch upon return from the logging function - which I probably wouldn't want to do anyway, since it's supposed to return to the ISR.

RE: Must xQueueSendFromISR wake a task?

Posted by Richard Damon on July 3, 2008
I believe the only "problem" you will run into is that the higher priority task won't run until something runs the scheduler again (at most till the next clock tick).

RE: Must xQueueSendFromISR wake a task?

Posted by Jeff Henshaw on July 3, 2008
Thanks !!


[ 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