Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FThreadSafeCounter64
Description
Subtracts an amount and returns the old value.
| Name | Subtract |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/ThreadSafeCounter64.h |
| Include Path | #include "HAL/ThreadSafeCounter64.h" |
int64 Subtract
(
int64 Amount
)
the old value
Parameters
| Name | Remarks |
|---|---|
| Amount | Amount to decrease the counter by |