Remove VxWorks DKM check from QThreads

Qt doesn't support VxWorks DKM since 4.8, removing DKM specific check,
so it is the same as in Qt for VxWorks 5.15.

Pick-to: 6.8
Task-number: QTBUG-136722
Change-Id: I86cf54e8eadbb78365b7c58cb72b0675714fb37a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 312215ba87b00b0065babe1cf190980e2d9dbc4a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Karim Pinter 2025-05-13 16:45:59 +03:00 committed by Qt Cherry-pick Bot
parent 845f85c9cb
commit 6ef8da2c41

View File

@ -718,7 +718,7 @@ static bool calculateUnixPriority(int priority, int *sched_policy, int *sched_pr
int prio_min; int prio_min;
int prio_max; int prio_max;
#if defined(Q_OS_VXWORKS) && defined(VXWORKS_DKM) #if defined(Q_OS_VXWORKS)
// for other scheduling policies than SCHED_RR or SCHED_FIFO // for other scheduling policies than SCHED_RR or SCHED_FIFO
prio_min = SCHED_FIFO_LOW_PRI; prio_min = SCHED_FIFO_LOW_PRI;
prio_max = SCHED_FIFO_HIGH_PRI; prio_max = SCHED_FIFO_HIGH_PRI;