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