diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-12-11 14:19:30 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-12-11 14:28:41 (GMT) |
commit | 9aa60dfdf5b4837b9ceb15d8fcbc96f37dce7b5a (patch) | |
tree | 28abb71b4b696c485198e618abd0dca49dab536b /tests | |
parent | 05ba6bad6c0927d22ccf026446dfdb9d85b3f03e (diff) | |
download | Qt-9aa60dfdf5b4837b9ceb15d8fcbc96f37dce7b5a.zip Qt-9aa60dfdf5b4837b9ceb15d8fcbc96f37dce7b5a.tar.gz Qt-9aa60dfdf5b4837b9ceb15d8fcbc96f37dce7b5a.tar.bz2 |
Check if the timeout expired during the time update in qt_safe_select
It can happen that select(2) returns -1 with EINTR, but the time
remaining was too small for us to update the time. Our own processing
(plus the syscall to clock_gettime(2)) leads us past the timeout, so
we get a negative timeval.
Task-number: QTBUG-6755
Reviewed-by: Bradley T. Hughes
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions