Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
pthreads/ThreadImpl.h File Reference
#include <sys/types.h>
#include <unistd.h>

Typedefs

typedef pid_t ThreadLwpId
 

Variables

constexpr int THREAD_BASE_PRIORITY_LOWRT {15}
 
constexpr int THREAD_BASE_PRIORITY_MAX {2}
 
constexpr int THREAD_BASE_PRIORITY_MIN {-2}
 
constexpr int THREAD_BASE_PRIORITY_IDLE {-15}
 
constexpr int THREAD_PRIORITY_LOWEST {THREAD_BASE_PRIORITY_MIN}
 
constexpr int THREAD_PRIORITY_BELOW_NORMAL {THREAD_PRIORITY_LOWEST + 1}
 
constexpr int THREAD_PRIORITY_NORMAL {0}
 
constexpr int THREAD_PRIORITY_HIGHEST {THREAD_BASE_PRIORITY_MAX}
 
constexpr int THREAD_PRIORITY_ABOVE_NORMAL {THREAD_PRIORITY_HIGHEST - 1}
 

Typedef Documentation

◆ ThreadLwpId

typedef pid_t ThreadLwpId

Variable Documentation

◆ THREAD_BASE_PRIORITY_IDLE

constexpr int THREAD_BASE_PRIORITY_IDLE {-15}
constexpr

◆ THREAD_BASE_PRIORITY_LOWRT

constexpr int THREAD_BASE_PRIORITY_LOWRT {15}
constexpr

◆ THREAD_BASE_PRIORITY_MAX

constexpr int THREAD_BASE_PRIORITY_MAX {2}
constexpr

◆ THREAD_BASE_PRIORITY_MIN

constexpr int THREAD_BASE_PRIORITY_MIN {-2}
constexpr

◆ THREAD_PRIORITY_ABOVE_NORMAL

constexpr int THREAD_PRIORITY_ABOVE_NORMAL {THREAD_PRIORITY_HIGHEST - 1}
constexpr

◆ THREAD_PRIORITY_BELOW_NORMAL

constexpr int THREAD_PRIORITY_BELOW_NORMAL {THREAD_PRIORITY_LOWEST + 1}
constexpr

◆ THREAD_PRIORITY_HIGHEST

constexpr int THREAD_PRIORITY_HIGHEST {THREAD_BASE_PRIORITY_MAX}
constexpr

◆ THREAD_PRIORITY_LOWEST

constexpr int THREAD_PRIORITY_LOWEST {THREAD_BASE_PRIORITY_MIN}
constexpr

◆ THREAD_PRIORITY_NORMAL

constexpr int THREAD_PRIORITY_NORMAL {0}
constexpr