Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Templates
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Templates/RefCounting.h |
| Include | #include "Templates/RefCounting.h" |
Syntax
enum ERefCountingMode
{
NotThreadSafe = 0,
ThreadSafe = 1,
}
Values
| Name | Description |
|---|---|
| NotThreadSafe | Forced to be not thread-safe. |
| ThreadSafe | Thread-safe, never spin locks, but slower |
Remarks
ERefCountingMode is used select between either 'fast' or 'thread safe' ref-counting types. This is only used by templates at compile time to generate one code path or another.