Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2004-07-29 08:35:19


Roland wrote:
[...]
> this would cause _getptd to reallocate _tiddata for this thread.
> Hmm. This will also account for a memory leak. Wouldn't it?

POSIX TSD has a "concept" of PTHREAD_DESTRUCTOR_ITERATIONS (the value
must be at least 4). This is meant to solve the problem of dependencies
without imposing any order on TSD destructors invocation chain. MS
should fix their TLS and have at least 5 PTHREAD_DESTRUCTOR_ITERATIONS
(one can be used to for their C/C++ runtime ;-) ).

regards,
alexander.


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