Fix monotonic clock detection on kFreeBSD
authorModestas Vainius <modax@debian.org>
Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)
committerMike Gabriel <sunweaver@debian.org>
Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)
commitb3193ec506d59cb13dc18864c49b5c6d1f5445e3
treee676c4b78309c3ed8b4ab1be1a8a90e5d1ce3a1b
parent9eff93859ca4976371863796dc3697b0abafccea
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