Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.5.0
-
None
-
QNX, ARM
Description
Starting a QThread using one of the QThread::Priority enum sets the priorities as follows on QNX:
enum value | priority |
---|---|
QThread::IdlePriority | 1 |
QThread::LowestPriority | 43 |
QThread::LowPriority | 85 |
QThread::NormalPriority | 128 |
QThread::HighPriority | 170 |
QThread::HighestPriority | 212 |
QThread::TimeCriticalPriority | 255 |
According to the docs, QThread::NormalPriority should be "the default priority of the operating system." However, the default priority in QNX is 10 (http://www.qnx.com/developers/articles/article_295_1.html). I suspect these priorities need to be changed.
This is probably the wrong place to suggest it, but it would probably be more helpful for most situations if there were additional enum values for setting a relative priority (e.g. QThread::HigherPriority and QThread::LowerPriority, etc.) which would offset the inherited priority.