From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-07-28 07:04:58
Bronek Kozicki wrote:
> Roland wrote:
>> You are relying on the fact that the c-runtime (with respect to this
>> very thread)
>> is still in a sane state! In fact it might not since the runtimes
>> own detach functions already have been called at this time. (Happens
>> within _endthread).
> I saw your post and I think that's strong point *against* using thread
> local storage (as delivered by runtime and OS), and replace it with
> some structure.
Thread-local storage is to be used exactly in scenarios where such
replacement is not possible.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk