From: Simon Wright <simon@pogner.demon.co.uk>
Subject: Default Storage Pool (was Re: garbage collection)
Date: 1999/08/21
Date: 1999-08-21T00:00:00+00:00 [thread overview]
Message-ID: <x7vwvupyt87.fsf_-_@pogner.moho> (raw)
In-Reply-To: 7pm95n$j0l$1@nnrp1.deja.com
Robert Dewar <dewar@gnat.com> writes:
> for this_access_type'Storage_Pool
> use System.Pool_Local.Unbounded_Reclaim_Pool;
>
> and of course do a "with" of System.Pool_Local.
>
> If you are using some other compiler that does not provide this
> very useful capability, then you need to write your own storage
> pool implementation (the one with GNAT may work, but you can't
> assume that library routines supplied with GNAT will work
> unchanged with other compilers (*) since they may depend on
> GNAT specific features -- I don't know if this one does or not).
It would have been very helpful for the Booch Components if all
compilers provided a (standardised, if at all possible) mechanism to
access their default Storage Pool. We had to muck around with indirect
means of finding it, which triggered problems in several compilers.
(BTW, Unbounded_Reclaim_Pool extends Unbounded_No_Reclaim_Pool which
uses gnat_malloc, gnat_free so there would be some work to do to use
them with another compiler -- 3.11p)
next prev parent reply other threads:[~1999-08-21 0:00 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-18 0:00 garbage collection Ronald Ayoub
1999-08-18 0:00 ` Gisle S�lensminde
1999-08-18 0:00 ` Pascal MALAISE
1999-08-20 0:00 ` David Botton
1999-08-18 0:00 ` tmoran
1999-08-18 0:00 ` Keith Thompson
1999-08-19 0:00 ` Tucker Taft
1999-08-19 0:00 ` Robert Dewar
1999-08-19 0:00 ` Robert Dewar
1999-08-20 0:00 ` tmoran
1999-08-20 0:00 ` Keith Thompson
1999-08-20 0:00 ` Matthew Heaney
1999-08-20 0:00 ` Keith Thompson
1999-08-21 0:00 ` Matthew Heaney
1999-08-21 0:00 ` Robert Dewar
1999-08-21 0:00 ` Matthew Heaney
1999-08-21 0:00 ` garbage collection [storage pools] Robert Dewar
1999-08-21 0:00 ` Simon Wright
1999-08-21 0:00 ` garbage collection Robert Dewar
1999-08-21 0:00 ` Brian Rogoff
1999-08-21 0:00 ` Robert Dewar
1999-08-21 0:00 ` Simon Wright [this message]
1999-08-23 0:00 ` Default Storage Pool (was Re: garbage collection) Robert A Duff
1999-08-18 0:00 ` garbage collection Robert I. Eachus
1999-08-19 0:00 ` Gautier
1999-08-19 0:00 ` Robert I. Eachus
1999-08-20 0:00 ` Keith Thompson
1999-08-20 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox