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: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: do ada tasks run accross 16 cpu boxs? or stuck on 1 cpu? Date: Tue, 07 May 2013 13:29:45 -0700 Organization: Also freenews.netfront.net; news.tornevall.net Message-ID: References: <19811f9b-0fe9-449c-a082-4764a2bc66c4@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 7 May 2013 20:26:12 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="656ea2f23126f57fb36504d2d15a002c"; logging-data="14691"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+H9G1x3G4sASX4bIodX9KcqlLOaGe0U54=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: <19811f9b-0fe9-449c-a082-4764a2bc66c4@googlegroups.com> Cancel-Lock: sha1:Vp99gmEGF++lzsHH379WyUxDXOc= Xref: news.eternal-september.org comp.lang.ada:15408 Date: 2013-05-07T13:29:45-07:00 List-Id: On 05/07/2013 01:16 PM, johannes falcone wrote: > How would an ada program use 16 core box? > > Are the tasks green threads? meaning 1 cpu microthreads? or are they somehow > green threads than can run on 16 cpus at same time? or are they like os > threads and heavy? > > I think they are the best combo green threads than can use N cpus by being > farmed out to all avaialble cpu as wrokers cpus .... but not sure.. This depends on the compiler. Most implement tasks so they use the available processors, but some don't. -- Jeff Carter "We call your door-opening request a silly thing." Monty Python & the Holy Grail 17