This may be obvious, but the API does not mention it and I want to confirm:
Does execution resume at the point just after the suspend call?
So, the task processes and event and suspends itself.
if (flags & logSuspendLog)
{
vTaskSuspend(logTaskHandle);
next line of code…
}
Another task calls the resume function for this task:
void logResume(void)
{
vTaskResume(logTaskHandle);
}
At that point execution for this task continues at the “next line of code” noted above. Is that correct??
ED