Formatting

This commit is contained in:
Alex Harker
2019-08-16 08:35:28 +01:00
parent 4e095b4b14
commit 9ba60c7898
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -332,7 +332,7 @@ void FrameLib_TriggerableThread::threadEntry(void *thread)
void FrameLib_TriggerableThread::threadClassEntry()
{
while(mSemaphore.wait())
while (mSemaphore.wait())
doTask();
}
+1 -1
View File
@@ -95,7 +95,7 @@ public:
FrameLib_SpinLock& operator=(const FrameLib_SpinLock&) = delete;
bool attempt() { return compareAndSwap(mAtomicLock, false, true); }
void acquire() { while(attempt() == false); }
void acquire() { while (attempt() == false); }
void release() { compareAndSwap(mAtomicLock, true, false); }
private: