thread-safe local static variable initialization
Jim Dehnert
dehnert at baalbek.engr.sgi.com
Tue Jun 8 19:41:07 UTC 1999
> From sassan at cup.hp.com Tue Jun 8 08:54:33 1999
>
> Jim: One issue that library providers face, though, is whether they
> need to provide a thread-safe in addition to the higher performance
> and possibly thread-unsafe version of their library.
Of course. In that regard, of course, they are just like any user
trying to write thread-safe code.
> I.e. it may
> still be helpful to provide a consistent model for library vendors,
> possibly at some initialization-time performance overhead, if it
> resolves the dilemma (without taxing the application performance
> beyond initialization.)
It might. One of my points was that this is a big if. There's much
more involved in the problem than dynamic initialization of local
statics. But rather than argue about the concept, let's wait for a
proposal and discuss that.
- Jim Dehnert dehnert at sgi.com
(650)933-4272
More information about the cxx-abi-dev
mailing list