I have project which is having many tasks and working fine on FreeRTOS. out of these tasks two task are called from ISR.
I want to change the implimatation such that if one interrupt is exicuting and anothet interrupt occurs, i wnat to stop the exicuting task and resume the secont task.
Senario would be like, i have system which receives illumination and shock/vibration interrupts and resumes the task for illumination and shock data processeng respectivly.
E.g if illumination task is running due to illumination interrupt and during this time if i got shock interrupt
i want stop illumination task and resume shock task.
Note: Both the tasks are having same priority and i dont want to change the priority of tasks.