Fix monotonic clock detection on kFreeBSD
authorModestas Vainius <modax@debian.org>
Sun, 14 Jul 2019 10:19:27 +0000 (11:19 +0100)
committerFelix Geyer <fgeyer@debian.org>
Sun, 14 Jul 2019 10:19:27 +0000 (11:19 +0100)
commitaa2ea71fb5ad27b53febcb4045f1e392f8135b95
tree93822026e1ee6e2f2755a948363e0848b2733ac7
parent58dc7634c6bab080a8a14926012247a1c82c7703
Fix monotonic clock detection on kFreeBSD

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