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

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -