You.i Engine
YiSpinLock.h File Reference
#include "framework/YiPredef.h"
#include <atomic>
#include <thread>

Go to the source code of this file.

Classes

class  CYISpinLock
 Provides access serialization between threads, where a thread trying to acquire the lock waits in a loop repeatedly checking until the lock becomes available. More...
 

Macros

#define YI_SPINLOCK_ATTEMPTS_BEFORE_YIELD   10000
 

Macro Definition Documentation

#define YI_SPINLOCK_ATTEMPTS_BEFORE_YIELD   10000