qt6-bb10/tests/auto/corelib/thread
Mårten Nordheim d6c592aa2f QThreadPool: fix regression with negative expiryTimeout
It's supposed to indicate a thread never expires, but following
a change where it stores the expiry with chrono we no longer considered
a negative expiry as 'forever', but rather it immediately expires!

More directly it is because we end up calling
QDeadlineTimer::setPreciseRemainingTime(0 secs, X nsecs), and it only
cares about negative seconds to set Forever. There are complications to
consider nsecs for this since several nanoseconds may pass between
initially calling the function and assigning the values...

Amends 1f2a230b89.

Fixes: QTBUG-129898
Change-Id: I9626de31810fb2751ff6d83165d7dce5258a9baf
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit c57027199996d0f0d2ac8ebc4505c78afa54ab5a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-15 12:45:00 +00:00
..
qatomicint Change license for tests files 2024-02-04 09:56:42 +01:00
qatomicinteger Change license for tests files 2024-02-04 09:56:42 +01:00
qatomicpointer Change license for tests files 2024-02-04 09:56:42 +01:00
qfuture Skip tst_QFuture::whenAllDifferentTypes and whenAnyDifferentTypes on VxWorks 2024-06-20 19:30:41 +00:00
qfuturesynchronizer Change license for tests files 2024-02-04 09:56:42 +01:00
qfuturewatcher QFutureWatcher: Fix race for initial emission of resultReadyAt() 2024-03-15 11:42:36 +00:00
qmutex tst_QMutex[qnx]: increase system timer resolution 2024-03-12 14:23:57 +01:00
qmutexlocker Change license for tests files 2024-02-04 09:56:42 +01:00
qpromise Change license for tests files 2024-02-04 09:56:42 +01:00
qreadlocker Change license for tests files 2024-02-04 09:56:42 +01:00
qreadwritelock Change license for tests files 2024-02-04 09:56:42 +01:00
qresultstore QtPrivate::ResultIteratorBase: use modernize comparisons 2024-05-14 00:32:35 +02:00
qsemaphore Change license for tests files 2024-02-04 09:56:42 +01:00
qthread QThread/Unix: fix normal exit/terminate() race 2024-07-11 08:27:17 +00:00
qthreadonce Change license for tests files 2024-02-04 09:56:42 +01:00
qthreadpool QThreadPool: fix regression with negative expiryTimeout 2024-10-15 12:45:00 +00:00
qthreadstorage Change license for tests files 2024-02-04 09:56:42 +01:00
qwaitcondition Change license for tests files 2024-02-04 09:56:42 +01:00
qwritelocker Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00