Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-09-17 12:11:03


Roland Schwarz wrote:
> Peter Dimov wrote:
>> Jeff Garland wrote:
>>> Peter Dimov wrote:
>>>> We have another complaint about the "leak" in Boost.Threads:
>>>>
>>>> http://lists.boost.org/boost-users/2006/09/22356.php
>>>> http://lists.boost.org/boost-users/2006/09/22358.php
>>>>
>>>> Should we merge the new version of tss_hooks.cpp into the 1.34
>>>> branch?
>>> Based on the frequency of reporting and the 'apparent seriousness' I
>>> think it should be pulled in. It also seems to be a pretty low risk
>>> change. Here's a quick link to the diff for Thomas ;-)
>>>
>>> http://boost.cvs.sourceforge.net/boost/boost/libs/thread/src/tss_hooks.cpp?view=diff&r1=text&tr1=1.5&r2=text&tr2=1.4&diff_format=h
>>
>> Nope,
>>
>> http://boost.cvs.sourceforge.net/boost/boost/libs/thread/src/tss_hooks.cpp?view=diff&r1=text&tr1=1.5&r2=text&tr2=1.3&diff_format=h
>>
>> I'm afraid. :-)
>
> While having only looked into this very cursory, I cannot imagine that
> calling TLSFree will have anything to do with the reported leak.

It doesn't. The reported "leak" is fixed in revision 1.4. 1.5 just adds a
TlsFree.


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