Fix monotonic clock detection on kFreeBSD
authorModestas Vainius <modax@debian.org>
Fri, 9 Sep 2016 17:09:51 +0000 (17:09 +0000)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Fri, 9 Sep 2016 17:09:51 +0000 (17:09 +0000)
commitcea6fd5e18752ee2351b63f6effdc00a8a74d1c6
tree7bf15c7b10b50c2b82bf038ee93ebf81a367fbe0
parentb6eb7c5b677eed34a6e4cb20ba646859135cc11b
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