All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Typedefs | Functions
ThreadPriority.h File Reference

Declaration of methods to control the thread priority. More...

#include <pylon/Platform.h>
#include "PylonBase.h"

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...
 

Detailed Description

Declaration of methods to control the thread priority.


pylon 5.0.5
Copyright © 2006-2016 Basler AG (Thu Aug 11 2016 18:01:27)