Boost logo

Boost :

From: Atry (pop.atry_at_[hidden])
Date: 2007-04-23 12:40:30

Clark Sims wrote:
> 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.
> _______________________________________________
> Unsubscribe & other changes:

If your code is an library, you should only access these objects passing
  at constructor or initialize method. If your code is executable, or
something begin at a entry point, you should allocate any objects in
your entry point function, and pass them to low level library.

Boost list run by bdawes at, gregod at, cpdaniel at, john at