This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
threadsafe allocator where each thread keeps its own free list,
- From: Abhi <abhi at qualcomm dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Wed, 16 Jul 2003 14:16:40 -0700
- Subject: threadsafe allocator where each thread keeps its own free list,
- Reply-to: Abhi <abhi at qualcomm dot com>
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