ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
Re: [boost] Bug in Win32 implementation of thread_specific_ptr (detail::tss::set)
by William E. Kempf other posts by this author
Jun 10 2002 6:52PM messages near this date
Re: [boost] Bug in Win32 implementation ofthread_specific_ptr(detail::tss::set) | RE: [boost] Boost.threads: Setting stack size
----- Original Message -----
From: "Christof Meerwald" <cmeerw@[...].de> 
To: <boost@[...].org> 
Sent: Monday, June 10, 2002 10:31 AM
Subject: [boost] Bug in Win32 implementation of thread_specific_ptr
(detail::tss::set)


>  Hi,
> 
>  currently, detail::tss::set doesn't remove the previously registered
>  cleanup handler if the new value is a NULL pointer. So if you reset
>  a thread_specific_pointer with a NULL pointer (or release it) and don't
>  set any other value before the thread terminates, the initial pointer
>  will be deleted twice (once by thread_specific_pointer::reset and again
>  by the cleanup handler).

Thanks for the bug report.  I actually discovered this myself a few weeks
ago while working on the next release.  I'll check in the fix in CVS before
the next release.

Bill Kempf
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Christof Meerwald
Mark Rodgers
William E. Kempf
William E. Kempf

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved