
20 Jul
2006
20 Jul
'06
1:38 p.m.
"Peter Dimov" <pdimov@mmltd.net> 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