Fix monotonic clock detection on kFreeBSD
authorModestas Vainius <modax@debian.org>
Sat, 5 May 2018 01:53:17 +0000 (02:53 +0100)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Sat, 5 May 2018 01:53:17 +0000 (02:53 +0100)
commit91e9ea346770cd6f1523d47a73f65803309fe7b3
tree533b2168a76217df30b7d057fe0720a93cf3d244
parent82b9a30251ff9385339b1a2397361907f1cabe78
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