use ordered memory semantics for atomic int

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1750 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-10-14 21:25:23 +00:00
parent bb75274858
commit 3e8639e733
2 changed files with 4 additions and 1 deletions

View File

@@ -183,7 +183,7 @@ private:
it != s_jobQueue.items.end(); ++it )
{
#if QT_VERSION >= 0x040400
if( it->done.fetchAndStoreRelaxed( 1 ) == 0 &&
if( it->done.fetchAndStoreOrdered( 1 ) == 0 &&
it->job != NULL )
{
#else