FThreadSafeCounter::FThreadSafeCounter

Copy Constructor.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/ThreadSafeCounter.h

Include

#include "HAL/ThreadSafeCounter.h"

Syntax

FThreadSafeCounter
(
    const FThreadSafeCounter & Other
)

Remarks

Copy Constructor.

If the counter in the Other parameter is changing from other threads, there are no guarantees as to which values you will get up to the caller to not care, synchronize or other way to make those guarantees.

Parameters

Parameter

Description

Other

The other thread safe counter to copy