Hello,
Is there a way to stop a task partway through it's execution? For example, lets say I have a task with the normal while() loop and it is running through a series of functions after its corresponding semaphore has been posted. If I want to stop the task before it loops back around to the semaphore_pend(), how can I do that? I'm assuming either an interrupt or input from another task will be the trigger to stop the first task's execution. I just don't know how to actually stop a task mid stride.
Thanks,
Eric