comp.lang.ada
 help / color / mirror / Atom feed
From: mheaney@ni.net (Matthew Heaney)
Subject: Re: What task storage_size to use?
Date: 1997/11/23
Date: 1997-11-23T00:00:00+00:00	[thread overview]
Message-ID: <mheaney-ya023680002311971911160001@news.ni.net> (raw)
In-Reply-To: 34785EC5.740B76B0@intermetrics.com


In article <34785EC5.740B76B0@intermetrics.com>, Michael Rowley
<rowley@intermetrics.com> wrote:

>Another approach that I am thinking of using is to create my own
>Storage_Pool for the task access type, which would allocate one more
>page than necessary for the task and write protect the extra page.  Then
>if there is a page fault on that page I would know that I am within one
>page of running out of stack space, and then try to recover gracefully.

I don't get it.  Why don't you just catch Storage_Error?

--------------------------------------------------------------------
Matthew Heaney
Software Development Consultant
<mailto:matthew_heaney@acm.org>
(818) 985-1271




  reply	other threads:[~1997-11-23  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3472A748.213DF2CA@intermetrics.com>
     [not found] ` <3.0.1.32.19971121191820.00b96cf0@spectre.mitre.org>
1997-11-23  0:00   ` What task storage_size to use? Michael Rowley
1997-11-23  0:00     ` Matthew Heaney [this message]
1997-11-24  0:00       ` Michael Rowley
1997-11-24  0:00         ` Robert Dewar
1997-11-24  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