comp.lang.ada
 help / color / mirror / Atom feed
* question about tasks, multithreading and multi-cpu machines
@ 2006-03-14 16:26 Norbert Caspari
  2006-03-14 16:51 ` Pascal Obry
                   ` (5 more replies)
  0 siblings, 6 replies; 29+ messages in thread
From: Norbert Caspari @ 2006-03-14 16:26 UTC (permalink / raw)


In Ada it is possible to declare multiple parallel running "tasks". But for 
my opinion the keyword "task" is somewhat misleding because in fact, those 
"tasks" are really threads.

If I run such a program on a multi-cpu machine, the process itself will use 
only one cpu, even though I create several "tasks".

I tested this with gnat v3.15p under HPUX 11 on a multi-cpu server.

How can I write my code to utilize all cpu's on such a machine? Is there a 
different way in Ada to perform multi-tasking instead of multi-threading?

Thank you for your help!

Best regards, Norbert




^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2006-03-26  0:44 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-14 16:26 question about tasks, multithreading and multi-cpu machines Norbert Caspari
2006-03-14 16:51 ` Pascal Obry
2006-03-16  4:27   ` Norbert Caspari
2006-03-16 10:04     ` Alex R. Mosteo
2006-03-14 17:18 ` Jean-Pierre Rosen
2006-03-16  4:22   ` Norbert Caspari
2006-03-16  6:58     ` Jean-Pierre Rosen
2006-03-14 18:49 ` Martin Krischik
2006-03-14 18:56 ` tmoran
2006-03-14 23:01 ` Jeffrey Creem
2006-03-15  1:15   ` Jeffrey R. Carter
2006-03-16  8:06   ` Maciej Sobczak
2006-03-16 10:23     ` Ole-Hjalmar Kristensen
2006-03-16 12:59     ` Dmitry A. Kazakov
2006-03-16 15:11       ` Larry Kilgallen
2006-03-16 15:50       ` Maciej Sobczak
2006-03-16 18:03         ` Jean-Pierre Rosen
2006-03-16 20:06           ` Dr. Adrian Wrigley
2006-03-17  3:26       ` Randy Brukardt
2006-03-16 20:06     ` Jeffrey R. Carter
2006-03-17  8:22       ` Maciej Sobczak
2006-03-17 11:36         ` Dmitry A. Kazakov
2006-03-17 14:23           ` Maciej Sobczak
2006-03-17 19:10             ` Dmitry A. Kazakov
2006-03-17 19:42         ` Jeffrey R. Carter
2006-03-18  0:27           ` tmoran
2006-03-25 21:28     ` Robert A Duff
     [not found]       ` <43gb22h4811ojjh308r2lqf5qqrujijjok@4ax.com>
2006-03-26  0:44         ` Robert A Duff
2006-03-15  6:46 ` Simon Wright

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