|
Boost Users : |
Subject: [Boost-users] boost atomic query
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2011-10-18 13:57:53
Hi:
I'm just starting to use boost atomic.
I need to protect an std::map.
If I had: boost::atomic<std;:map<int, int> > test;
Would I need to protect this with a mutex, or is the fact that the variable is atomic enough?
Cheers
SEean.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net