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
The only critical section is the access to priority queue head/tail registers, which are also accessed by the scheduler. The rest of the code can run outside the critical section.
The critical section only needs to disable 'irq' interrupts, which can start the scheduler. 'fiq' interrupts do not start the scheduler and, therefore, do not affect the priority queue registers.