summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-07-10 16:52:39 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-12 11:46:39 (GMT)
commit4afde6f85050cc3e9267947999dc55918b1bd36c (patch)
treea196b0a6e31967417c3a9235a5c50dd5f74f9978 /src/gui
parenteeeea5ad7acb4006ad4f2f556665eba848279ecf (diff)
downloadQt-4afde6f85050cc3e9267947999dc55918b1bd36c.zip
Qt-4afde6f85050cc3e9267947999dc55918b1bd36c.tar.gz
Qt-4afde6f85050cc3e9267947999dc55918b1bd36c.tar.bz2
Accept defeat when select(2)ing without a monotonic clock
We prefer to use the monotonic clock because it's never affected by time jumps (such as the user changing the date, or the system adjusting for any other reasons, including automatic leap seconds). But if a system doesn't have a monotonic clock, we simply accept the regular, real time clock and hope it doesn't jump. This is better than the current code that never restarts a call. The side-effect is that a 30-second select may become a 3630-second select if someone sets the clock back one hour. Task-number: QTBUG-22301 Change-Id: Ia5a3bb453cd475f45b03637e2549165589fd2524 (cherry-picked from qtbase commit c64d602df3712c0d147b7b689d29f79c700e63bc) Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions