Debian Codegraph @

src/librssguard/miscellaneous/thread.h

raw symbols SCIP
1 // For license of this file, see <project-root-folder>/LICENSE.md.
2
3 #ifndef THREAD_H
4 #define THREAD_H
5
6 #include <QtGlobal>
7
8 qlonglong getThreadID();
9
10 #if defined(Q_OS_LINUX)
11 // Values corresponding to nice values.
12 enum Priority {
13 Lowest = 19,
14 Low = 10,
15 Normal = 0
16 };
17
18 void setThreadPriority(Priority);
19 #endif
20
21 #endif // THREAD_H