Fix monotonic clock detection on kFreeBSD
authorModestas Vainius <modax@debian.org>
Tue, 22 Aug 2023 13:42:24 +0000 (14:42 +0100)
committerRoberto C. Sánchez <roberto@debian.org>
Tue, 22 Aug 2023 13:42:24 +0000 (14:42 +0100)
commit60a992a9c0ba838947c764e392a49e3f23ad2330
tree8a4e820c0a539f70aec415fd2259c07d99ae4ed6
parentef8a69a1b8ea9f5e8d2ccfb6514ee9834262e224
Fix monotonic clock detection on kFreeBSD

Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624679
Last-Update: 2011-05-01
Origin: vendor
Forwarded: not-needed

Fix monotonic clock detection on kFreeBSD at configure time. This will finally
enable it in QElapsedTimer.

QProcess::waitForFinished() and all other qt_safe_select() users cannot safely
operate without monotonic clock because qt_safe_select() will indicate timeout
earlier than it is supposed when underlying select() call is interrupted
(errno=EINTR).

Gbp-Pq: Name kfreebsd_monotonic_clock.diff
config.tests/unix/clock-gettime/clock-gettime.pri