Subj : c++ containers in thread-local memory To : comp.programming.threads From : awaken Date : Fri Feb 25 2005 05:39 am I need some list/vector/whatever which keeps thread-local data across different method calls from one thread to one class instance. VC++ "magic qualifier" __declspes(thread) doesn't work for STL containers (or for any objects with constructor) How to overcome this? Can custom allocator (using TlsAlloc API) solve this problem? .