Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/HAL > API/Runtime/Core/HAL/FThreadSafeCounter
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/HAL/ThreadSafeCounter.h |
| Include | #include "HAL/ThreadSafeCounter.h" |
int32 Subtract
(
int32 Amount
)
Remarks
Subtracts an amount and returns the old value. the old value
Parameters
| Name | Description |
|---|---|
| Amount | Amount to decrease the counter by |