OUr customer has the following question regarding SYS/BIOS
A colleague and I are looking into the RTOS critical region functions such as Task_disable() and Task_enable() as part of our use of the RTOS logging facility to help us capture critical timing events and stumbled onto something looking at the source code in Task.c that has us confused. We assume that those functions are working and there are no bugs but it seems that the code sets a Boolean to lock the task thus preventing a context switch but the weird thing is that it doesn’t look like it checks the lock before it schedules the next ready task.
Can you shed any light on what we’re seeing?
Thanks for your help!
Regards,
John Wiemeyer