Multiple Calls to task_resume

jabad06 wrote on Saturday, November 23, 2013:

I currently have a system where an interrupt is calling task_resume to resume my task. I am having issues where the system would hang and one of my suspicions is the call to task_resume.
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.

rtel wrote on Saturday, November 23, 2013:

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: