Boost logo

Boost :

From: james.jones_at_[hidden]
Date: 2007-05-10 11:54:27

From: Roman Morokutti <roman_vbg_at_[hidden]>
> I don?t understand the DLCP-hype at all. Correct me if
> I am wrong, but how would it be to just instantiate the
> Singleton before spawning any thread?

Sometimes that isn't an option. Suppose your Singleton encapsulates a heavyweight resource (say a database connection) which may be unnecessary, and the decision cannot be made until after threads are spawned.

James Jones Administrative Data Mgmt.
Webmaster 375 Raritan Center Pkwy, Suite A
Data Architect Edison, NJ 08837

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