Fix monotonic clock detection on kFreeBSD
authorModestas Vainius <modax@debian.org>
Fri, 12 Apr 2019 20:10:28 +0000 (21:10 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 12 Apr 2019 20:10:28 +0000 (21:10 +0100)
commitccc52ba8ec910f75e192e88fc729fc89a8019140
tree1c2e182f4f714c5677c43afe6523e0faa0612dff
parent11a05c552c34d602fda9adfaf9087eb8f25d3350
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