Boost logo

Boost :

From: Larry Evans (jcampbell3_at_[hidden])
Date: 2003-05-29 21:52:59


Gregory Colvin wrote:
> Check out
>
> http://www.hpl.hp.com/personal/Hans_Boehm/gc/gcinterface.html
>
[snip]
> On Thursday, May 29, 2003, at 19:57 America/Denver, Larry Evans wrote:
>
>> Gregory Colvin wrote:
>>
>> [snip]
>>
>> > It is not that hard to write a new(gc) and gc_allocator
>> > using Boehm's collector, for those who don't want to have
>> > the collector take over all memory allocation.
>>
>> I found John Max Skaller's posts on such a gc_allocator:
>>
>> http://aspn.activestate.com/ASPN/Mail/Message/boost/1150154
>>
>> Since I still can't figure out how he did it, maybe he could provide
>> code or more details on howto. However, I don't know his email. I
>> may just download his Felix compiler and try deciphering the code.
Now, how do we do something similar with a precise gc like that proposed
earlier? My first thought is to use some gc_allocator as the
allocator argument to each stl_container which might contain gc'ed
objects. Now I thought this was where Skaller noticed a problem with
the stl containers and suggested boost try a modification of stl
to overcome the problem.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk