Fix monotonic clock detection on kFreeBSD
authorModestas Vainius <modax@debian.org>
Sun, 20 Sep 2020 19:01:50 +0000 (20:01 +0100)
committerAdrian Bunk <bunk@debian.org>
Sun, 20 Sep 2020 19:01:50 +0000 (20:01 +0100)
commit33e286402f160b7699a9274b24e118bb97b065af
tree2d3f67e86101f1ff03b41f20d1e06bb9b51d84a9
parent8659cc620bf79c8d5e868849c3083e97e704e50f
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