diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-08-16 17:15:33 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-05 21:47:09 +0200 |
commit | d84da399649d01ac689e87295f8decc024a4f8e8 (patch) | |
tree | 1236b5ebe43e70a25431608091e82fe3ed543d6a /src/gui/painting/painting.pri | |
parent | 0ebfd0866d7cc9e3dabccf088d8ef1339dfe51a6 (diff) |
Use the new 3-operand testAndSet functions in QMutex
This allows us to get the current value of the QMutex / QBasicMutex
after the testAndSet operation failed. It saves an extra load from
memory.
Change-Id: I4922a8b3df15e342b177b13f56cf4f1184314520
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/gui/painting/painting.pri')
0 files changed, 0 insertions, 0 deletions