diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-12-21 11:41:30 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-23 20:34:46 +0100 |
commit | 3adbcb58d590c48e5799bce7ded0157c26460f6c (patch) | |
tree | 2ce7eec2db115875fa451a9ece57c9625f00f6df /src/widgets/styles/qcommonstyle.cpp | |
parent | 96d06124a1da7e2bbd8bda2fc8e762cb46af8204 (diff) |
Fix QMutex::tryLock with negative values
The Linux futex implementation had a Q_ASSERT for positive values, but
the documentation says that negative values should be interpreted as
infinite (equal to lock()).
Test that too.
Change-Id: I2f96a502d672732781e88e49797756ca9a809121
Reviewed-by: David Faure (KDE) <faure@kde.org>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/styles/qcommonstyle.cpp')
0 files changed, 0 insertions, 0 deletions