summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarim Pinter <[email protected]>2025-05-13 16:45:59 +0300
committerKarim Pinter <[email protected]>2025-05-15 10:11:34 +0300
commit312215ba87b00b0065babe1cf190980e2d9dbc4a (patch)
treeaec2116757e038b41efca469dc59c5ba3e440feb
parent72becc7c124f27ad1506ed4fc49d9abe1242629b (diff)
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 6.9 Task-number: QTBUG-136722 Change-Id: I86cf54e8eadbb78365b7c58cb72b0675714fb37a Reviewed-by: Thiago Macieira <[email protected]>
-rw-r--r--src/corelib/thread/qthread_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/thread/qthread_unix.cpp b/src/corelib/thread/qthread_unix.cpp
index 8ea738ad874..3409e486ab0 100644
--- a/src/corelib/thread/qthread_unix.cpp
+++ b/src/corelib/thread/qthread_unix.cpp
@@ -718,7 +718,7 @@ static bool calculateUnixPriority(int priority, int *sched_policy, int *sched_pr
int prio_min;
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
prio_min = SCHED_FIFO_LOW_PRI;
prio_max = SCHED_FIFO_HIGH_PRI;