$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Clark Sims (clark_sims_boost_at_[hidden])
Date: 2007-04-22 16:16:36
http://acumenconsultinginc.net/TechNotes/ThreadSafe/
I used the boost scoped_lock, and shared_ptr classes, to create 2 template classes which provide threadsafe access to a singleton class.
I also included the example of a singleton class which has a destructor.
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.