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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user