threadsafe allocator where each thread keeps its own free list,

Abhi abhi@qualcomm.com
Wed Jul 16 21:16:00 GMT 2003


Not sure, if this is the right forum for such queries!
Please point/redirect me to the right place if not.


I am trying to find a threadsafe allocator where each thread keeps its own 
free list, so that no locking is needed, but there seems to be no 
documentation on it. 
<http://gcc.gnu.org/onlinedocs/libstdc++/ext/howto.html#3> mentions it, but 
does not elaborate.

gcc 3.3 has two header files
bits/pthread_allocimpl.h
bits/stl_pthread_alloc.h

which seem to refer to the idea, but including these files just spits out a 
zillion errors.

Any Ideas
thanks
....Abhi



More information about the Libstdc++ mailing list