threadsafe allocator where each thread keeps its own free list,
Abhi
abhi@qualcomm.com
Wed Jul 16 21:52:00 GMT 2003
Do you mean gcc3.4 (Guess that's the dev/snapshot release)?
Or can I just upgrade the libstdc++ version separately, if that's possible.
Any links to download from?
thanks
....Abhi
--On Wednesday, July 16, 2003 5:19 PM -0400 Phil Edwards <phil@jaj.com>
wrote:
> On Wed, Jul 16, 2003 at 02:16:40PM -0700, Abhi wrote:
>> Not sure, if this is the right forum for such queries!
>> Please point/redirect me to the right place if not.
>
> This is the right place.
>
>> 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
>
> 3.4 has one. The one in 3.3 has bitrotted and isn't really supported.
>
> --
> If ye love wealth greater than liberty, the tranquility of servitude
> greater than the animating contest for freedom, go home and leave us in
> peace. We seek not your counsel, nor your arms. Crouch down and lick
> the hand that feeds you; and may posterity forget that ye were our
> countrymen. - Samuel Adams
---------- End Phil Edwards <phil@jaj.com> Message ----------
---------- Original Message ----------------------------------
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