Navigation
API > API/Runtime > API/Runtime/Core
ERefCountingMode is used select between either 'fast' or 'thread safe' ref-counting types. This is only used at compile time to select between template specializations.
| Name | ERefCountingMode |
| Type | enum |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/RefCounting.h |
| Include Path | #include "Templates/RefCounting.h" |
Syntax
enum ERefCountingMode
{
NotThreadSafe = 0,
ThreadSafe = 1,
}
Values
| Name | Remarks |
|---|---|
| NotThreadSafe | Forced to be not thread-safe. |
| ThreadSafe | Thread-safe: never spin locks, but slower. |