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:
@@ -1,5 +1,8 @@
|
||||
2008-10-14 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
|
||||
|
||||
* src/core/mixer.cpp:
|
||||
use ordered memory semantics for atomic int
|
||||
|
||||
* CMakeLists.txt:
|
||||
improved dependency handling for building manpage
|
||||
|
||||
|
||||
@@ -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