\section{include/sys/critsec.h File Reference}
\label{sys_2critsec_8h}\index{include/sys/critsec.h@{include/sys/critsec.h}}
Interface: kernel level critical sections. 

{\tt \#include $<$config.h$>$}\par
{\tt \#include $<$atomic.h$>$}\par
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf \_\-\_\-sys\_\-critsec\_\-h\_\-\_\-}
\item 
\#define {\bf INITIALIZE\_\-KERNEL\_\-CRITICAL\_\-SECTION}()
\item 
\#define {\bf ENTER\_\-KERNEL\_\-CRITICAL\_\-SECTION}()
\item 
\#define {\bf LEAVE\_\-KERNEL\_\-CRITICAL\_\-SECTION}()
\item 
\#define {\bf DESTROY\_\-KERNEL\_\-CRITICAL\_\-SECTION}()
\end{CompactItemize}


\subsection{Detailed Description}
Interface: kernel level critical sections. 

\begin{Desc}
\item[Author:]Joseph A. Woolley $<${\tt jawoolley@users.sourceforge.net}$>$\end{Desc}
Defines types and functions used for kernel level critical sections.

Definition in file {\bf critsec.h}.

\subsection{Define Documentation}
\index{sys/critsec.h@{sys/critsec.h}!__sys_critsec_h__@{\_\-\_\-sys\_\-critsec\_\-h\_\-\_\-}}
\index{__sys_critsec_h__@{\_\-\_\-sys\_\-critsec\_\-h\_\-\_\-}!sys/critsec.h@{sys/critsec.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define \_\-\_\-sys\_\-critsec\_\-h\_\-\_\-}\label{sys_2critsec_8h_a0}




Definition at line 29 of file critsec.h.\index{sys/critsec.h@{sys/critsec.h}!DESTROY_KERNEL_CRITICAL_SECTION@{DESTROY\_\-KERNEL\_\-CRITICAL\_\-SECTION}}
\index{DESTROY_KERNEL_CRITICAL_SECTION@{DESTROY\_\-KERNEL\_\-CRITICAL\_\-SECTION}!sys/critsec.h@{sys/critsec.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DESTROY\_\-KERNEL\_\-CRITICAL\_\-SECTION()}\label{sys_2critsec_8h_a4}




Definition at line 48 of file critsec.h.\index{sys/critsec.h@{sys/critsec.h}!ENTER_KERNEL_CRITICAL_SECTION@{ENTER\_\-KERNEL\_\-CRITICAL\_\-SECTION}}
\index{ENTER_KERNEL_CRITICAL_SECTION@{ENTER\_\-KERNEL\_\-CRITICAL\_\-SECTION}!sys/critsec.h@{sys/critsec.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define ENTER\_\-KERNEL\_\-CRITICAL\_\-SECTION()}\label{sys_2critsec_8h_a2}




Definition at line 46 of file critsec.h.\index{sys/critsec.h@{sys/critsec.h}!INITIALIZE_KERNEL_CRITICAL_SECTION@{INITIALIZE\_\-KERNEL\_\-CRITICAL\_\-SECTION}}
\index{INITIALIZE_KERNEL_CRITICAL_SECTION@{INITIALIZE\_\-KERNEL\_\-CRITICAL\_\-SECTION}!sys/critsec.h@{sys/critsec.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define INITIALIZE\_\-KERNEL\_\-CRITICAL\_\-SECTION()}\label{sys_2critsec_8h_a1}




Definition at line 45 of file critsec.h.\index{sys/critsec.h@{sys/critsec.h}!LEAVE_KERNEL_CRITICAL_SECTION@{LEAVE\_\-KERNEL\_\-CRITICAL\_\-SECTION}}
\index{LEAVE_KERNEL_CRITICAL_SECTION@{LEAVE\_\-KERNEL\_\-CRITICAL\_\-SECTION}!sys/critsec.h@{sys/critsec.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LEAVE\_\-KERNEL\_\-CRITICAL\_\-SECTION()}\label{sys_2critsec_8h_a3}




Definition at line 47 of file critsec.h.