You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this can be reworked so that the algorithm can update the deadlines to ensure all tasks fire at a consistent period. This could be modified to task_list[i].deadline = (task_list[i].deadline + 1) % UINT32_MAX;
The text was updated successfully, but these errors were encountered:
I noticed that having 3+ tasks initialized with a deadline of 0 will cause one to get skipped because of the logical statement:
if (task_list[i].deadline == 0) {
task_list[i].deadline = (task_list[i].deadline + task_list[i].period) % UINT32_MAX;
}
I believe this can be reworked so that the algorithm can update the deadlines to ensure all tasks fire at a consistent period. This could be modified to task_list[i].deadline = (task_list[i].deadline + 1) % UINT32_MAX;
The text was updated successfully, but these errors were encountered: