Formatting
This commit is contained in:
@@ -332,7 +332,7 @@ void FrameLib_TriggerableThread::threadEntry(void *thread)
|
||||
|
||||
void FrameLib_TriggerableThread::threadClassEntry()
|
||||
{
|
||||
while(mSemaphore.wait())
|
||||
while (mSemaphore.wait())
|
||||
doTask();
|
||||
}
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user