\doxysubsection{SVM kernel status}
\hypertarget{group__statuskernels}{}\label{group__statuskernels}\index{SVM kernel status@{SVM kernel status}}


This module contains API functions to handle SVM kernel status.  


\doxysubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} \mbox{\hyperlink{group__statuskernels_gaa6ba974941f7d2973d4b6a232ce7f403}{svm\+\_\+kernel\+\_\+is\+\_\+runnable}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel)
\begin{DoxyCompactList}\small\item\em This function checks whether a kernel can be executed. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} \mbox{\hyperlink{group__statuskernels_gae455bb7e73aa02d05f5070d33f0522b9}{svm\+\_\+kernel\+\_\+is\+\_\+terminated}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel)
\begin{DoxyCompactList}\small\item\em This function checks whether a kernel has completed its execution. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga6973e582c96542d2a1a62eeef7b8c416}{SVM\+\_\+\+Kernel\+\_\+\+State}} \mbox{\hyperlink{group__statuskernels_ga239e426792cc147bbaebf45587fabc09}{svm\+\_\+kernel\+\_\+get\+\_\+state}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel)
\begin{DoxyCompactList}\small\item\em This function returns the status of the kernel. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} \mbox{\hyperlink{group__statuskernels_ga9d589fe67c44edf96a38727662bccdfc}{svm\+\_\+kernel\+\_\+has\+\_\+transmitinterruption}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel)
\begin{DoxyCompactList}\small\item\em This function checks whether a kernel has the transmit\+\_\+interruptions option. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} \mbox{\hyperlink{group__statuskernels_ga5a23941041a0e4dcbecc5afd9aea63bd}{svm\+\_\+kernel\+\_\+has\+\_\+lastreturnisshutdown}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel)
\begin{DoxyCompactList}\small\item\em This function checks whether a kernel has the last\+\_\+return\+\_\+is\+\_\+shutdown option. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} \mbox{\hyperlink{group__statuskernels_ga94974bc2934fcc847e522cab6685b8f2}{svm\+\_\+kernel\+\_\+has\+\_\+protectedmode}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel)
\begin{DoxyCompactList}\small\item\em This function checks whether a kernel has the protected\+\_\+mode option. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gaa9ef3e93dd2aee35350fd61cc54851fa}{SVM\+\_\+\+Access\+Control}} \mbox{\hyperlink{group__statuskernels_ga4ba79d07f09302673522c6f786ad3af4}{svm\+\_\+kernel\+\_\+get\+\_\+accesscontrol}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel)
\begin{DoxyCompactList}\small\item\em This function retrieves the access control of a protected kernel. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void \mbox{\hyperlink{group__statuskernels_ga439477976085f6e8076dcba2a70d70c5}{svm\+\_\+kernel\+\_\+set\+\_\+accesscontrol}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel, const \mbox{\hyperlink{group__api__types_gaa9ef3e93dd2aee35350fd61cc54851fa}{SVM\+\_\+\+Access\+Control}} access\+\_\+control)
\begin{DoxyCompactList}\small\item\em This function modifies the access control of a protected kernel. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga05264517c09f5a00e9f4a613739fbd79}{SVM\+\_\+\+Value\+\_\+\+Interruption}} \mbox{\hyperlink{group__statuskernels_ga97ce335a64feb1beaf440a9632bdbad4}{svm\+\_\+kernel\+\_\+get\+\_\+interruption}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel)
\begin{DoxyCompactList}\small\item\em This function retrieves the interruption of an interrupted kernel. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}} \mbox{\hyperlink{group__statuskernels_gaddef0b005546fad544f68001d4e1523f}{svm\+\_\+kernel\+\_\+print}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel)
\begin{DoxyCompactList}\small\item\em This function returns a string representation of the kernel. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}} \mbox{\hyperlink{group__statuskernels_ga09caa5fe3a1d1ae373b989026f5ef9a9}{svm\+\_\+kernel\+\_\+get\+\_\+coredump}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel)
\begin{DoxyCompactList}\small\item\em This function returns a string representation of the complete kernel, like in core dumps. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}
This module contains API functions to handle SVM kernel status. 



\doxysubsubsection{Function Documentation}
\Hypertarget{group__statuskernels_ga4ba79d07f09302673522c6f786ad3af4}\label{group__statuskernels_ga4ba79d07f09302673522c6f786ad3af4} 
\index{SVM kernel status@{SVM kernel status}!svm\_kernel\_get\_accesscontrol@{svm\_kernel\_get\_accesscontrol}}
\index{svm\_kernel\_get\_accesscontrol@{svm\_kernel\_get\_accesscontrol}!SVM kernel status@{SVM kernel status}}
\doxysubsubsubsection{\texorpdfstring{svm\_kernel\_get\_accesscontrol()}{svm\_kernel\_get\_accesscontrol()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gaa9ef3e93dd2aee35350fd61cc54851fa}{SVM\+\_\+\+Access\+Control}} svm\+\_\+kernel\+\_\+get\+\_\+accesscontrol (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel }\end{DoxyParamCaption})}



This function retrieves the access control of a protected kernel. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel from which the interruption will be extracted.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The access control of the kernel if the kernel has a defined quota, a NULL pointer otherwise.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__statuskernels_ga09caa5fe3a1d1ae373b989026f5ef9a9}\label{group__statuskernels_ga09caa5fe3a1d1ae373b989026f5ef9a9} 
\index{SVM kernel status@{SVM kernel status}!svm\_kernel\_get\_coredump@{svm\_kernel\_get\_coredump}}
\index{svm\_kernel\_get\_coredump@{svm\_kernel\_get\_coredump}!SVM kernel status@{SVM kernel status}}
\doxysubsubsubsection{\texorpdfstring{svm\_kernel\_get\_coredump()}{svm\_kernel\_get\_coredump()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}} svm\+\_\+kernel\+\_\+get\+\_\+coredump (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel }\end{DoxyParamCaption})}



This function returns a string representation of the complete kernel, like in core dumps. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel from which the core dump will be extracted.\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
This API function can be useful for debugging purpose.
\end{DoxyNote}
\begin{DoxyReturn}{Returns}
A \doxylink{struct_s_v_m___string}{SVM\+\_\+\+String} containing a core dump of the kernel.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__statuskernels_ga97ce335a64feb1beaf440a9632bdbad4}\label{group__statuskernels_ga97ce335a64feb1beaf440a9632bdbad4} 
\index{SVM kernel status@{SVM kernel status}!svm\_kernel\_get\_interruption@{svm\_kernel\_get\_interruption}}
\index{svm\_kernel\_get\_interruption@{svm\_kernel\_get\_interruption}!SVM kernel status@{SVM kernel status}}
\doxysubsubsubsection{\texorpdfstring{svm\_kernel\_get\_interruption()}{svm\_kernel\_get\_interruption()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga05264517c09f5a00e9f4a613739fbd79}{SVM\+\_\+\+Value\+\_\+\+Interruption}} svm\+\_\+kernel\+\_\+get\+\_\+interruption (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel }\end{DoxyParamCaption})}



This function retrieves the interruption of an interrupted kernel. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel from which the interruption will be extracted.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
If the kernel is interrupted, the interruption of the kernel, a NULL pointer otherwise.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__statuskernels_ga239e426792cc147bbaebf45587fabc09}\label{group__statuskernels_ga239e426792cc147bbaebf45587fabc09} 
\index{SVM kernel status@{SVM kernel status}!svm\_kernel\_get\_state@{svm\_kernel\_get\_state}}
\index{svm\_kernel\_get\_state@{svm\_kernel\_get\_state}!SVM kernel status@{SVM kernel status}}
\doxysubsubsubsection{\texorpdfstring{svm\_kernel\_get\_state()}{svm\_kernel\_get\_state()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga6973e582c96542d2a1a62eeef7b8c416}{SVM\+\_\+\+Kernel\+\_\+\+State}} svm\+\_\+kernel\+\_\+get\+\_\+state (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel }\end{DoxyParamCaption})}



This function returns the status of the kernel. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel to be diagnosed.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The status of the kernel.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__statuskernels_ga5a23941041a0e4dcbecc5afd9aea63bd}\label{group__statuskernels_ga5a23941041a0e4dcbecc5afd9aea63bd} 
\index{SVM kernel status@{SVM kernel status}!svm\_kernel\_has\_lastreturnisshutdown@{svm\_kernel\_has\_lastreturnisshutdown}}
\index{svm\_kernel\_has\_lastreturnisshutdown@{svm\_kernel\_has\_lastreturnisshutdown}!SVM kernel status@{SVM kernel status}}
\doxysubsubsubsection{\texorpdfstring{svm\_kernel\_has\_lastreturnisshutdown()}{svm\_kernel\_has\_lastreturnisshutdown()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} svm\+\_\+kernel\+\_\+has\+\_\+lastreturnisshutdown (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel }\end{DoxyParamCaption})}



This function checks whether a kernel has the last\+\_\+return\+\_\+is\+\_\+shutdown option. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel to be diagnosed.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
TRUE if the kernel has the last\+\_\+return\+\_\+is\+\_\+shutdown option activated, FALSE otherwise.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__statuskernels_ga94974bc2934fcc847e522cab6685b8f2}\label{group__statuskernels_ga94974bc2934fcc847e522cab6685b8f2} 
\index{SVM kernel status@{SVM kernel status}!svm\_kernel\_has\_protectedmode@{svm\_kernel\_has\_protectedmode}}
\index{svm\_kernel\_has\_protectedmode@{svm\_kernel\_has\_protectedmode}!SVM kernel status@{SVM kernel status}}
\doxysubsubsubsection{\texorpdfstring{svm\_kernel\_has\_protectedmode()}{svm\_kernel\_has\_protectedmode()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} svm\+\_\+kernel\+\_\+has\+\_\+protectedmode (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel }\end{DoxyParamCaption})}



This function checks whether a kernel has the protected\+\_\+mode option. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel to be diagnosed.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
TRUE if the kernel has the protected\+\_\+mode option activated, FALSE otherwise.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__statuskernels_ga9d589fe67c44edf96a38727662bccdfc}\label{group__statuskernels_ga9d589fe67c44edf96a38727662bccdfc} 
\index{SVM kernel status@{SVM kernel status}!svm\_kernel\_has\_transmitinterruption@{svm\_kernel\_has\_transmitinterruption}}
\index{svm\_kernel\_has\_transmitinterruption@{svm\_kernel\_has\_transmitinterruption}!SVM kernel status@{SVM kernel status}}
\doxysubsubsubsection{\texorpdfstring{svm\_kernel\_has\_transmitinterruption()}{svm\_kernel\_has\_transmitinterruption()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} svm\+\_\+kernel\+\_\+has\+\_\+transmitinterruption (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel }\end{DoxyParamCaption})}



This function checks whether a kernel has the transmit\+\_\+interruptions option. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel to be diagnosed.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
TRUE if the kernel has the transmit\+\_\+interruptions option activated, FALSE otherwise.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__statuskernels_gaa6ba974941f7d2973d4b6a232ce7f403}\label{group__statuskernels_gaa6ba974941f7d2973d4b6a232ce7f403} 
\index{SVM kernel status@{SVM kernel status}!svm\_kernel\_is\_runnable@{svm\_kernel\_is\_runnable}}
\index{svm\_kernel\_is\_runnable@{svm\_kernel\_is\_runnable}!SVM kernel status@{SVM kernel status}}
\doxysubsubsubsection{\texorpdfstring{svm\_kernel\_is\_runnable()}{svm\_kernel\_is\_runnable()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} svm\+\_\+kernel\+\_\+is\+\_\+runnable (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel }\end{DoxyParamCaption})}



This function checks whether a kernel can be executed. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel to be diagnosed.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
TRUE if the kernel can be returned to the process by a sequencer, FALSE otherwise.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__statuskernels_gae455bb7e73aa02d05f5070d33f0522b9}\label{group__statuskernels_gae455bb7e73aa02d05f5070d33f0522b9} 
\index{SVM kernel status@{SVM kernel status}!svm\_kernel\_is\_terminated@{svm\_kernel\_is\_terminated}}
\index{svm\_kernel\_is\_terminated@{svm\_kernel\_is\_terminated}!SVM kernel status@{SVM kernel status}}
\doxysubsubsubsection{\texorpdfstring{svm\_kernel\_is\_terminated()}{svm\_kernel\_is\_terminated()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} svm\+\_\+kernel\+\_\+is\+\_\+terminated (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel }\end{DoxyParamCaption})}



This function checks whether a kernel has completed its execution. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel to be diagnosed.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
TRUE if the kernel is in zombie, interrupted or error state, FALSE otherwise.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__statuskernels_gaddef0b005546fad544f68001d4e1523f}\label{group__statuskernels_gaddef0b005546fad544f68001d4e1523f} 
\index{SVM kernel status@{SVM kernel status}!svm\_kernel\_print@{svm\_kernel\_print}}
\index{svm\_kernel\_print@{svm\_kernel\_print}!SVM kernel status@{SVM kernel status}}
\doxysubsubsubsection{\texorpdfstring{svm\_kernel\_print()}{svm\_kernel\_print()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}} svm\+\_\+kernel\+\_\+print (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel }\end{DoxyParamCaption})}



This function returns a string representation of the kernel. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel from which the state will be extracted.\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
This API function can be useful in sequencer print callback functions.
\end{DoxyNote}
\begin{DoxyReturn}{Returns}
A \doxylink{struct_s_v_m___string}{SVM\+\_\+\+String} containing a representation of the kernel.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__statuskernels_ga439477976085f6e8076dcba2a70d70c5}\label{group__statuskernels_ga439477976085f6e8076dcba2a70d70c5} 
\index{SVM kernel status@{SVM kernel status}!svm\_kernel\_set\_accesscontrol@{svm\_kernel\_set\_accesscontrol}}
\index{svm\_kernel\_set\_accesscontrol@{svm\_kernel\_set\_accesscontrol}!SVM kernel status@{SVM kernel status}}
\doxysubsubsubsection{\texorpdfstring{svm\_kernel\_set\_accesscontrol()}{svm\_kernel\_set\_accesscontrol()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void svm\+\_\+kernel\+\_\+set\+\_\+accesscontrol (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel,  }\item[{const \mbox{\hyperlink{group__api__types_gaa9ef3e93dd2aee35350fd61cc54851fa}{SVM\+\_\+\+Access\+Control}}}]{access\+\_\+control }\end{DoxyParamCaption})}



This function modifies the access control of a protected kernel. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel from which the interruption will be extracted. \\
\hline
\mbox{\texttt{ in}}  & {\em access\+\_\+control} & The access control to set.\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
The resulting access control on the kernel is made of the lowest limit between the current access control of the kernel and the new one.
\end{DoxyNote}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
