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) -

pandas - Iterate on Groupby Object's fields -

Creating a sparse matrix in Matlab with a specified number of independent Bernoulli +-1 nonzero entries -