# UE4 and STD::Atomic

**URL:** <https://forums.unrealengine.com/t/ue4-and-std-atomic/386103>\
**Category:** C++\
**Tags:** threads, unreal-engine, question, CPP\
**Created:** [February 24, 2017, 10:12pm UTC](https://forums.unrealengine.com/t/ue4-and-std-atomic/386103 "2017-02-24T22:12:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anonymous\_e5d5c0bf7d300728867097ff79906dbe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_e5d5c0bf7d300728867097ff79906dbe](https://forums.unrealengine.com/u/Anonymous_e5d5c0bf7d300728867097ff79906dbe)\
**Post date:** [February 24, 2017, 10:12pm UTC](https://forums.unrealengine.com/t/ue4-and-std-atomic/386103/1 "2017-02-24T22:12:27Z")

</div>

Hello,  
I am still new to UE4 programming,  
I am planning to run some threads in my game,  
and I am used to use std::atomic for a simple thread safe lookups.

Question:  
Will std::atomic be appropriate to use in UE4 or there is something better ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d0ee7ef0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d0ee7ef0](https://forums.unrealengine.com/u/anonymous_user_d0ee7ef0)\
**Post date:** [January 21, 2021, 1:58pm UTC](https://forums.unrealengine.com/t/ue4-and-std-atomic/386103/2 "2021-01-21T13:58:29Z")

</div>

I know this is old but have a look at this:

> **[TAtomic](https://docs.unrealengine.com/5.2/en-US/API/Runtime/Core/Templates/TAtomic/)**
>
> DEPRECATED! UE atomics are not maintained and potentially will be physically deprecated.
