From: Pascal MALAISE <malaise@magic.fr>
Subject: Task storage_size on task types with gnat
Date: 1998/12/13
Date: 1998-12-13T16:10:24+00:00 [thread overview]
Message-ID: <3673E6EF.7EDFBDB0@magic.fr> (raw)
I have a task which needs a large (at least more than the deafult)
stack.
-- In fact, it dynamically instanciates a generic.
With gnat 3.10p (on linux) I cannot specify my task storage_size:
task STUFF is
...
end STUFF;
for STUFF'STORAGE_SIZE use 4*1024*1024;
--> storage size cannot be given for "STUFF"
But if I use a task type:
task type STUFF_T is
...
end STUFF_T;
for STUFF_T'STORAGE_SIZE use 4*1024*1024;
STUFF : STUFF_T;
It works OK.
Does anyone know - why the first approach is refused?
- a way to avoid a task type (I don't realy mind
though).
--
Pascal MALAISE
(priv) mailto:malaise@magic.fr
(prof) mailto:malaise@fr.airsysatm.thomson-csf.com
next reply other threads:[~1998-12-13 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-13 0:00 Pascal MALAISE [this message]
1998-12-14 0:00 ` Task storage_size on task types with gnat Tucker Taft
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox