From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Dynamic Allocation problem
Date: 1997/04/05
Date: 1997-04-05T00:00:00+00:00 [thread overview]
Message-ID: <E86724.Mu8@world.std.com> (raw)
In-Reply-To: 5i436p$248c@newssvr01-int.news.prodigy.com
In article <5i436p$248c@newssvr01-int.news.prodigy.com>,
Matthew Givens <NKSW39B@prodigy.com> wrote:
>Now, is there any way for me to check the amount of available storage
>BEFORE I actually try the allocation?
You could write your own storage pool, using whatever allocation
algorithm you like, and this pool type could have a function that
returns the amount of free space (or the largest contiguous chunk of
free space, or whatever else you find useful). You would then put "for
My_Access_Type'Storage_Pool use ...;".
- Bob
next prev parent reply other threads:[~1997-04-05 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-04 0:00 Dynamic Allocation problem Matthew Givens
1997-04-05 0:00 ` Robert A Duff [this message]
1997-04-05 0:00 ` Nick Roberts
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox