This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

threadsafe allocator where each thread keeps its own free list,


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]