$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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.