From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.168.198 with SMTP id zy6mr12806pab.46.1384262465802; Tue, 12 Nov 2013 05:21:05 -0800 (PST) X-Received: by 10.49.5.167 with SMTP id t7mr242565qet.7.1384262465748; Tue, 12 Nov 2013 05:21:05 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!y3no7105411pbx.0!news-out.google.com!9ni24597qaf.0!nntp.google.com!i2no22083523qav.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 12 Nov 2013 05:21:05 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=158.110.27.77; posting-account=9fwclgkAAAD6oQ5usUYhee1l39geVY99 NNTP-Posting-Host: 158.110.27.77 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <64c53708-0397-4b21-abcc-b33aa56b48f4@googlegroups.com> Subject: Re: Maximum Number Of Tasks? From: mockturtle Injection-Date: Tue, 12 Nov 2013 13:21:05 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:17626 Date: 2013-11-12T05:21:05-08:00 List-Id: On Tuesday, November 12, 2013 10:53:53 AM UTC+1, FritzVonBraun wrote: > I was wondering about the maximum number of tasks in Ada but I couldnt=20 > find any info. The question is, is a task in Ada technically similar to= =20 > a thread in Windows under the hood? Threads are restricted by the stack= =20 > size that each thread has reserved, so in practice the maximum number of= =20 > threads is about 2000. >=20 I remember that I saw at FOSDEM 2013 in the "Ada Developer Room" a demo tha= t plotted a Mandelbrot set by using a matrix of tasks. A participant asked= then "can you do that with 10_000 tasks?" The size of the matrix was chan= ged to 100 x 100 and everything worked smoothly; so, in that case you could= create at least 10_000 tasks. The PC was a laptop running some kind of Li= nux + GNAT, if I remember correctly. Riccardo