[thread] TSS Cleanup fixes

Hi, The attached patch changes the way that TSS cleanup is done. I believe this will fix the problems being experienced with using LoadLibrary, and with the thread_specific_ptr destructor being run before all the TSS data has been cleaned up (e.g. in boost wave). Please could people check that this fixes the problems they are experiencing. If it does, I will commit this to trunk. Anthony -- Anthony Williams Just Software Solutions Ltd - http://www.justsoftwaresolutions.co.uk Registered in England, Company Number 5478976. Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL

Anthony Williams wrote:
The attached patch changes the way that TSS cleanup is done. I believe this will fix the problems being experienced with using LoadLibrary, and with the thread_specific_ptr destructor being run before all the TSS data has been cleaned up (e.g. in boost wave).
Please could people check that this fixes the problems they are experiencing. If it does, I will commit this to trunk.
Thes patches build fine on my system and do indeed resolve the LoadLibrary issue. -Dave
participants (2)
-
Anthony Williams
-
David Deakins