ESPMode

Syntax

enum ESPMode
{
    NotThreadSafe    = 0,
    Fast             = 0 ? 1 : 0,
    ThreadSafe       = 1,
}

Values

Name

Description

NotThreadSafe

Forced to be not thread-safe.

Fast

Fast, doesn't ever use atomic interlocks.

ThreadSafe

Conditionally thread-safe, never spin locks, but slower

Remarks

ESPMode is used select between either 'fast' or 'thread safe' shared pointer types. This is only used by templates at compile time to generate one code path or another.

References

Module

Core

Header

Runtime/Core/Public/Templates/SharedPointerInternals.h