VSF Documented
|
#include "ll.h"
Functions | |
void | critical_section_start (void) |
void | critical_section_end (void) |
void critical_section_start | ( | void | ) |
Mark the start of a critical section
On the first call to enter a critical section this function MUST store the state of any interrupts or other application settings it will modify to facilitate the critical section.
void critical_section_end | ( | void | ) |
Mark the end of a critical section.
The purpose of this function is to restore any state that was modified upon entering the critical section, allowing other threads or interrupts to change the processor control.