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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Maximum Number Of Tasks? Date: Tue, 12 Nov 2013 08:54:18 -0700 Organization: Also freenews.netfront.net; news.tornevall.net Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 12 Nov 2013 15:54:20 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="b91ebeedbc496c8222e2854f15ee7105"; logging-data="5297"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184CQfGA5XN6kzGBAfek4kabOYtDzKxGKw=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: Cancel-Lock: sha1:maP52JEnMM3x7X4/kl3VrBe8AKE= X-Original-Bytes: 1782 Xref: number.nntp.dca.giganews.com comp.lang.ada:183835 Date: 2013-11-12T08:54:18-07:00 List-Id: On 11/12/2013 02:53 AM, FritzVonBraun wrote: > > Would I have to do the same in Ada or are tasks meant to be "micro objects' of > which many can be created and the Ada runtime does effectively what my > threadpool system does in C++ Tasks should reflect inherent concurrency in the problem space, not some aspect of the hardware or OS. I have never encountered any problem following this rule, whether it was 60-70 Ada-83 tasks on a 640 KB DOS system in the 1980s or hundreds of tasks on Linux this year. -- Jeff Carter "We call your door-opening request a silly thing." Monty Python & the Holy Grail 17