Re: Question about static class objects

From: Konstantin Olchanski <olchansk_at_triumf.ca>
Date: Tue, 27 May 2008 11:15:05 -0700


On Tue, May 27, 2008 at 12:01:57PM -0500, Philippe Canal wrote:
> TList &Zap::list() {
> static TList list;
> return list;
> }
> which anyway is slightly better in term of C++ style :)

This will bomb in a multi-threaded program?

-- 
Konstantin Olchanski
Data Acquisition Systems: The Bytes Must Flow!
Email: olchansk-at-triumf-dot-ca
Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada
Received on Tue May 27 2008 - 20:15:13 CEST

This archive was generated by hypermail 2.2.0 : Tue May 27 2008 - 23:50:01 CEST