<< Previous | Next >>

OS_EXIT_CRITICAL

void OS_EXIT_CRITICAL();

Description

Exit a critical section. If the corresponding previous OS_ENTER_CRITICAL() call disabled interrupts (that is, interrupts were not already disabled), then interrupts will be enabled. Otherwise, interrupts will remain disabled. Hence, nesting calls to OS_ENTER_CRITICAL() will work correctly.

Library

UCOS2.LIB


020-0059 Rev. D << Previous | Next >> µC/OS-II