Use storeRelease to unlock a mutex instead of fetchAndStoreRelease
authorThiago Macieira <thiago.macieira@intel.com>
Sat, 11 Aug 2012 13:23:56 +0000 (15:23 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 14 Sep 2012 01:45:50 +0000 (03:45 +0200)
commit70ff7d097bdf214c53b0ca94a8ae51017da32fe6
tree9c8d8d831096df4f977fe66b6847f4fa32940666
parentf587e8f4fd670f11fa1e878c1015d7241033559a
Use storeRelease to unlock a mutex instead of fetchAndStoreRelease

We're not checking the result anyway, so use a simpler operation.

Change-Id: I8c2db35be86660b29d81dd97ce3e269de55a37df
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/corelib/thread/qmutex_linux.cpp