Skip to main content

c++ - Can I place a std::atomic<int64> in shared memory and expect atomic operation? -


Does Steady :: Atom play well in shared memory, or is it undefined? It's an easy way to add lockless basic types for shared memory, but I can not believe it is not possible to guarantee nuclear behavior in the context of shared memory.

Why not, you need to allocate it properly and create a shared memory area.


Comments

Popular posts from this blog

php - Select box validation (in laravel) -

html - Tabindex not working for button -

java - Joda Time Interval Not returning what I expect -