Boost logo

Boost :

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

Clark Sims ??:
> 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:
I think singleton is a bad thing. we should avoid any non-const global
or static variant, especially using them concurrently.

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