comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: do ada tasks run accross 16 cpu boxs? or stuck on 1 cpu?
Date: Tue, 07 May 2013 22:45:19 +0200
Date: 2013-05-07T22:45:19+02:00	[thread overview]
Message-ID: <874neea59c.fsf@ludovic-brenta.org> (raw)
In-Reply-To: kmbo13$eb3$2@dont-email.me

Jeffrey Carter writes on comp.lang.ada:
> 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.

And on the underlying operating system. With GNAT on GNU/Linux, threads
are native and use all available CPU cores.

-- 
Ludovic Brenta.

  reply	other threads:[~2013-05-07 20:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-07 20:16 do ada tasks run accross 16 cpu boxs? or stuck on 1 cpu? johannes falcone
2013-05-07 20:29 ` Jeffrey Carter
2013-05-07 20:45   ` Ludovic Brenta [this message]
2013-05-07 23:10     ` johannes falcone
2013-05-08 13:13 ` john
2013-05-08 13:15   ` john
2013-05-12  7:17 ` ldries46
2013-05-12 16:35   ` Dennis Lee Bieber
2013-05-21 19:41     ` Michael Erdmann
2013-05-22 12:14       ` Marc C
replies disabled

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