i have some problems how to “control” tasks… i have one main task which control others “reporting” tasks, which read data from sensors, sending data to server etc… but they’ll run occasionally some of them will run once per day others few times on month
now i’m wondering how should i do that and why is one way better than other?
a) suspending/resuming tasks
b) changing their priorities
i didn’t find any specific info at http://www.freertos.org/a00112.html when should i use one of them… if i choose b) and raise priority to one task, scheduler won’t run other task until i don’t set low priority to it… what is diffrent if i choose way a) - i run task with highest priority and when is finished i suspend it…