Fix monotonic clock detection on kFreeBSD
authorModestas Vainius <modax@debian.org>
Wed, 9 Nov 2016 16:50:49 +0000 (16:50 +0000)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Wed, 9 Nov 2016 16:50:49 +0000 (16:50 +0000)
commitbcd976e95910a71615dd6a83592e5a166ba60a46
treea7ec649f4cf688f5bbed7199e21a9f97782fbe93
parentaf078e0bc5d81ab75ef6e84860b8e11b62ddfa3d
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