\hypertarget{group__Schedule}{}\section{Schedule}
\label{group__Schedule}\index{Schedule@{Schedule}}


T\+O\+D\+O\+: description.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Schedule_ga58061718e29c6ede3831a3e2a44c6023}{eina\+\_\+sched\+\_\+prio\+\_\+drop} (void)
\begin{DoxyCompactList}\small\item\em Lowers the priority of the current thread. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
T\+O\+D\+O\+: description. 



\subsection{Function Documentation}
\hypertarget{group__Schedule_ga58061718e29c6ede3831a3e2a44c6023}{}\index{Schedule@{Schedule}!eina\+\_\+sched\+\_\+prio\+\_\+drop@{eina\+\_\+sched\+\_\+prio\+\_\+drop}}
\index{eina\+\_\+sched\+\_\+prio\+\_\+drop@{eina\+\_\+sched\+\_\+prio\+\_\+drop}!Schedule@{Schedule}}
\subsubsection[{eina\+\_\+sched\+\_\+prio\+\_\+drop}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void eina\+\_\+sched\+\_\+prio\+\_\+drop (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Schedule_ga58061718e29c6ede3831a3e2a44c6023}


Lowers the priority of the current thread. 

It\textquotesingle{}s used by worker threads so that they use up the background C\+P\+U and do not stall the main thread. If the current thread is running with real-\/time priority, we decrease our priority by {\ttfamily R\+T\+N\+I\+C\+E\+N\+E\+S\+S}. This is done in a portable way.

Otherwise, (we are running with the S\+C\+H\+E\+D\+\_\+\+O\+T\+H\+E\+R policy) there\textquotesingle{}s no portable way to set the nice level on the current thread. In Linux, it does work and it\textquotesingle{}s the only one that is implemented as of now. In this case, the nice level is incremented on this thread by {\ttfamily N\+I\+C\+E\+N\+E\+S\+S}. 

References E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+E\+R\+R, E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+I\+N\+F\+O, and E\+I\+N\+A\+\_\+\+U\+N\+L\+I\+K\+E\+L\+Y.

