<< Previous | Next >>

OS_EXIT_CRITICAL

void OS_EXIT_CRITICAL( void );

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


Dynamic C Functions << Previous | Next >> rabbit.com