Open nashif opened 7 years ago
by Mark Linkmeyer:
Since previously assigned to Sharron, I'm reassigning now to Chandrakala Kempanna .
by Andrew Boie:
Please note: when you implement this, you will see that this is not implemented correctly on ARC and Xtensa (ZEP-2233, ZEP-2234)
Related to ZEP-2234
Related to ZEP-2233
Reported by Andrew Boie:
The schedule_api test_sched_timeslice_reset code currently only evaluates two cases:
1) Cooperative context switches 2) Timeslice expiry
However there is a third case, if thread X is timeslicing, gets an interrupt which causes thread Y to be scheduled, AND Y is also timeslicing, then Y's timeslice needs to be reset. This requires modification to the interrupt handling code and is currently only implemented on ARM and X86.
Extend this test case to simulate and test this scenario.
(Imported from Jira ZEP-2232)