Processor$enter_critical_section function <nucleus/kernel.h>
The Processor$enter_critical_section function causes the processor to enter an uninterruptable state. This must be coupled with a call to Processor$exit_critical_section. This function is nestable, and every critical section that is entered must be exited before the processor enables interrupts again.
Syntax
void Processor$enter_critical_section( void );