Boost logo

Boost :

From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2006-07-20 09:38:41


"Peter Dimov" <pdimov_at_[hidden]> writes:

> I've attached a proposed simplification of libs/thread/src/tss_hooks.cpp
> that eliminates the one-time allocation that's been bugging people because
> their tools report it as a leak.
>
> If there are no objections, I'll commit this change to the CVS HEAD.

Can we have a call to TlsFree in on_process_exit, so we don't leak the TLS
slot either? Other than that, it looks good; it's certainly cleaner than the
old code.

Anthony

-- 
Anthony Williams
Software Developer
Just Software Solutions Ltd
http://www.justsoftwaresolutions.co.uk

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