From: Keith Thompson <kst@cts.com>
Subject: Re: storage size pragmas
Date: 2000/05/07
Date: 2000-05-07T00:00:00+00:00 [thread overview]
Message-ID: <yecpuqy6vgr.fsf@king.cts.com> (raw)
In-Reply-To: 20000507094954.10742.00001811@ng-bj1.aol.com
anthonygair@aol.comremoveme (ANTHONY GAIR) writes:
> For those of you watching my progress with Ada tasks and segmentation faults
> with both bated breath and intrepidation for the next exciting installment.
>
> Would a large array stored inside a task cause a segmentation fault if no
> storage size pragma is used ?
>
> the storage size is roughly 10000 * (8 + 8+ 8+ 8+8) array,
If the large array can't be allocated, it *should* cause a
Storage_Error exception (if you're compiling with all checks on).
The exception may not be visible if it occurs within a task.
Add a Storage_Size pragma and see what happens.
--
Keith Thompson (The_Other_Keith) kst@cts.com <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://www.sdsc.edu/~kst>
Welcome to the last year of the 20th century.
prev parent reply other threads:[~2000-05-07 0:00 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-07 0:00 storage size pragmas ANTHONY GAIR
2000-05-07 0:00 ` Pascal Obry
2000-05-07 0:00 ` Ted Dennison
2000-05-07 0:00 ` Robert Dewar
2000-05-07 0:00 ` ANTHONY GAIR
2000-05-07 0:00 ` Robert Dewar
2000-05-09 0:00 ` ANTHONY GAIR
2000-05-09 0:00 ` Robert Dewar
2000-05-09 0:00 ` Robert A Duff
2000-05-09 0:00 ` Robert Dewar
2000-05-09 0:00 ` Robert A Duff
2000-05-10 0:00 ` Laurent Guerby
2000-05-09 0:00 ` Larry Kilgallen
2000-05-09 0:00 ` Ted Dennison
2000-05-07 0:00 ` Robert Dewar
2000-05-08 0:00 ` Ted Dennison
2000-05-08 0:00 ` Robert Dewar
2000-05-08 0:00 ` Ted Dennison
2000-05-08 0:00 ` Robert Dewar
2000-05-07 0:00 ` Robert Dewar
2000-05-07 0:00 ` Robert Dewar
2000-05-07 0:00 ` Keith Thompson [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox