What is the difference beetween these 2 kinds of gates. In the documentation, I understand that in the 2 cases, interrupts are disables when entering the gate to lock resource. I would like to have the most general critical section to share resource beetween tasks or beetween task and hardware interrupts. But, if I use GateAll from a task, would all the interrupts be blocked until the resource is released by the interrupt ?