diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-12 19:02:41 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-12 17:08:59 +0000 |
commit | 4ae9126f2c7d34631ee7e77f64fa161dab76e8d2 (patch) | |
tree | de2305d9d8c5ffd01e655f554215c1910f3d9d18 /logic/work.cpp | |
parent | c57b524d3038dd1d94379038d362dea5b2896c60 (diff) |
logic/pipeline: attempt adjust thread priority
Calling QThread::setPriority twice in a succession
means:
1. if you can, set high priority
a) if not allowed, highest won't work either
b) if allowed, see below
2. if you can, set highest priority
a) if highest is allowed, happy happy joy joy
b) if not, at least high priority is successful
Note that we don't have any return value from
QThread::setPriority().
Diffstat (limited to 'logic/work.cpp')
0 files changed, 0 insertions, 0 deletions