summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qmutex.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2023-06-07 17:14:01 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2023-06-09 15:42:06 +0200
commit30e5ff3ff223d665fbed3baf2d08ad3fcf2b8455 (patch)
tree5d4411d9bb11e8a8b2093982c8585a3dc07bbf41 /src/corelib/thread/qmutex.cpp
parent65b0bc0eed10307cb2ab0a0c45eb6787bed96614 (diff)
Stabilize QFile::unixPipe/socketPair tests
We observe failures in CI on QNX because the measured timeout is ~995ms rather than the expected 1000ms. Start the timer before the thread starts to guarantee that at least as much time elapses as the thread waits before writing the second byte to the pipe. Otherwise, the thread might be sleeping already when the timer starts, and then we can't rely on any measurements. Pick-to: 6.6 6.5 Change-Id: I6072569a987f5e952b0953e0e394a223f891fd25 Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
Diffstat (limited to 'src/corelib/thread/qmutex.cpp')
0 files changed, 0 insertions, 0 deletions