FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [July 2008 Threads] 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 !!
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|