VSF Documented
Functions
ll.c File Reference
#include "ll.h"

Functions

void critical_section_start (void)
 
void critical_section_end (void)
 

Function Documentation

◆ critical_section_start()

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.

◆ critical_section_end()

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.