On Tue Mar 5 19:02:59 2024 +0000, Zebediah Figura wrote:
This does refactoring that should probably be split off into other patches. I don't think it's right to pause whenever K32WOWCallback16Ex() is executed. Calling back from 32-bit code to 16-bit code isn't exclusive to hardware interrupts.
Only one task can execute at a time anyway, so pausing the other threads usually won't have any effect. Are you saying that the functions that call WOWCallback16(Ex) should call TASK_SuspendAll and TASK_ResumeAll instead of calling them from within WOWCallback16Ex? Or are you proposing something else?