[Webkit-unassigned] [Bug 22614] Need to add Win32 implementation of ThreadSpecific.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 3 23:16:11 PST 2008


https://bugs.webkit.org/show_bug.cgi?id=22614


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #25731|review?                     |review-
               Flag|                            |




------- Comment #5 from ap at webkit.org  2008-12-03 23:16 PDT -------
(From update of attachment 25731)
Sorry, I pasted a wrong MSDN link, it was supposed to be
<http://msdn.microsoft.com/en-us/library/ms686997(VS.85).aspx>.

MSDN suggests calling TlsFree from DLL_PROCESS_DETACH, and it is indeed OK to
call it manually, or even not to call it at all - but I'm not talking about
leaking TLS keys. The problem is about leaking TLS data of each thread. In
pthread implementation of this class, destroy() is called automatically for
each ThreadSpecific object on thread exit, because the callback is registered
by pthread_key_create() - but nothing calls destroy() in this patch.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list