Boost logo

Boost :

From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2004-07-27 22:22:29


Tonko Juricic wrote:

> Leaning toward "less code is better" philosophy I
> would tend to take a position : you are not using
> boost threads? Then it's yours, rather than boost code
> responsibility, to clean up TLS.

That's often impossible: objects and threads are orthogonal
by nature: you don't always control what thread executes
your code. But as it is your code that needs TLS you
may have to inject TLS variables in *any* thread that
comes your way, and so it has to be cleaned up in a uniform
way.

Stefan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk