Declaration of methods to control the thread priority. More...
Namespaces | |
Pylon | |
Contains definitions of pylon types. | |
Typedefs | |
typedef pthread_t | Pylon::THREADHANDLE |
Typedef for a pthreads thread handle. | |
Functions | |
void | Pylon::GetRTThreadPriorityCapabilities (int &prioMin, int &prioMax) |
Queries the range of allowed thread priorities. | |
int | Pylon::GetRTThreadPriority (THREADHANDLE thread) |
Indicates the current thread priority of a thread. | |
void | Pylon::SetRTThreadPriority (THREADHANDLE thread, int priority) |
Allows to set the realtime thread priority of a threadValues greater than 0 set the thread's static priority and imply realtime scheduling (SCHED_RR scheduling policy). When setting the value 0, non-realtime scheduling is used. The thread's dynamic priority depends on the process' dynamic priority (nice scheduling). More... | |
THREADHANDLE | Pylon::GetCurrentThreadHandle () |
Get current running thread handle. More... | |
int | Pylon::GetCurrentThreadIdentifier () |
Get current running thread id. More... | |
Declaration of methods to control the thread priority.