comp.lang.ada
 help / color / mirror / Atom feed
* Task storage
@ 1998-02-24  0:00 Philippe Laval
  1998-02-24  0:00 ` Mats Weber
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Philippe Laval @ 1998-02-24  0:00 UTC (permalink / raw)



My Ada 95 application, compiled with Gnat 3.10 under Windows 95,
recursively allocates large tasks (about 1_000 instructions).
Storage_Error is raised after only a few ten tasks are created, despite
the 40 Mbytes available on my machine. I need about 12 Kbytes of stack
per task. The default storage pool is obviously too small. I would like
to set up a user defined pool object, according to the chapter 13.11 of
the ALRM, but the examples given make not very clear how Allocate could
be overridden to reserve 12 Kbytes each time "new" is executed. Where
can I find some examples which could be adapted to solve my problem?
-- 
Philippe Laval
Observatoire oceanologique - Villefranche-sur-Mer (France)
laval@obs-vlfr.fr




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-02-25  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-24  0:00 Task storage Philippe Laval
1998-02-24  0:00 ` Mats Weber
1998-02-24  0:00 ` Matthew Heaney
1998-02-25  0:00 ` Jonas Nygren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox