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] [November 2013 Threads]
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.
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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.