diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-04-12 17:34:41 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-07-02 20:08:36 +0000 |
commit | eaee1209f0ead5be786e81db8aee604ccfea85b0 (patch) | |
tree | 3292857a49ef8e3efa2a2213754bbbd49a808a4a /src/plugins/platforms/xcb/qxcbkeyboard.cpp | |
parent | ab2c1f9509c76d61773ad0df3eaeb0ea1c2bbddf (diff) |
Switch QSemaphore::tryAcquire to using QDeadlineTimer
A deadline timer is more correct for timeouts.
Also starts the timer before trying to acquire the mutex for more
precise timeouts.
Task-number: QTBUG-58745
Change-Id: I230266a3a5d7b7af33981efed4e6882e5727a41c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbkeyboard.cpp')
0 files changed, 0 insertions, 0 deletions