comp.lang.ada
 help / color / mirror / Atom feed
From: Philippe Laval <laval@obs-vlfr.fr>
Subject: Task storage
Date: 1998/02/24
Date: 1998-02-24T00:00:00+00:00	[thread overview]
Message-ID: <34F30CB0.CD9@obs-vlfr.fr> (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




             reply	other threads:[~1998-02-24  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-24  0:00 Philippe Laval [this message]
1998-02-24  0:00 ` Task storage Matthew Heaney
1998-02-24  0:00 ` Mats Weber
1998-02-25  0:00 ` Jonas Nygren
replies disabled

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