Fix monotonic clock detection on kFreeBSD
authorModestas Vainius <modax@debian.org>
Mon, 24 Jan 2022 10:55:59 +0000 (10:55 +0000)
committerUtkarsh Gupta <utkarsh@debian.org>
Mon, 24 Jan 2022 10:55:59 +0000 (10:55 +0000)
commit535eaed965cfadb26c0c4627e13dedd92df0c99d
tree899d972f6296ec54ae70e43401583cd726feed3c
parent2dcdd394d912ae1d5bc884c5d912fca8de947280
Fix monotonic clock detection on kFreeBSD

Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624679
Last-Update: 2011-05-01
Origin: vendor
Forwarded: not-needed

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