Hi,
I have a 3 threads and 2 SWIs, all shares some global resource. I am using Swi_disable() to disable SWIs before accessing this resource.
The question is:
Does calling Swi_disable() from low priority thread ensures that higher priority threads will not preempt it?
Or should I call Task_disable() followed by Swi_disable()?