Quality RTOS & Embedded Software

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


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


Careers

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

Renesas

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