1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-24 01:54:22 +00:00

Made JUCE's Atomic class a simple wrapper around std::atomic on platforms that support it

This commit is contained in:
ed 2017-06-09 20:38:10 +01:00
parent 02349f4677
commit 8e7cc759f5
5 changed files with 424 additions and 428 deletions

View file

@ -542,7 +542,7 @@ public:
if (old == callbackToUse)
break;
if (callback.compareAndSetValue (callbackToUse, old) == old)
if (callback.compareAndSetBool (callbackToUse, old))
break;
Thread::sleep (1);