comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: GNAT and large number of threads
Date: Fri, 27 Apr 2007 21:45:10 +0300
Date: 2007-04-27T21:45:10+03:00	[thread overview]
Message-ID: <59eulmF2jf1p7U1@mid.individual.net> (raw)
In-Reply-To: f0rac9$dip$1@nemesis.news.tpi.pl

Wiktor Moskwa wrote:

> Hi,
> 
> I'm using GNAT GPL 2006 on Linux x86.
> Recently I had a problem with creating large number of tasks(*) in my
> Ada program. I create tasks in a loop and when I reach the limit of
> stack address space the main thread freezes - no exceptions, nothing.

This happened to me in 3.15p for windows long ago, but I suppose it's the
same issue.

You can have thousands of tasks with a reasonable stack size. I don't know
how to know the number in advance, sorry.



  parent reply	other threads:[~2007-04-27 18:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-26 22:50 GNAT and large number of threads Wiktor Moskwa
2007-04-26 23:56 ` Gene
2007-04-27  5:46   ` Stefan Bellon
2007-04-27 15:39   ` Wiktor Moskwa
2007-04-27  4:49 ` Jeffrey R. Carter
2007-04-27 14:52   ` Wiktor Moskwa
2007-04-27 18:45 ` Alex R. Mosteo [this message]
2007-04-27 18:51   ` Pascal Obry
replies disabled

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