Fix monotonic clock detection on kFreeBSD
authorModestas Vainius <modax@debian.org>
Sun, 14 Apr 2019 10:25:37 +0000 (11:25 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 14 Apr 2019 10:25:37 +0000 (11:25 +0100)
commitb7b0923dfd5ad1141833f9b2968af60f2ae01598
tree82b21b6d370da877d130ac16a8d6561a4059160b
parent25a3f9af935cc776a3256035a0c1a1b1d38b05c9
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