comp.lang.ada
 help / color / mirror / Atom feed
From: "Hibou57 (Yannick Duchêne)" <yannick_duchene@yahoo.fr>
Subject: Maping of Ada tasks on the plateforme OS threads model
Date: Sat, 27 Jun 2009 17:35:14 -0700 (PDT)
Date: 2009-06-27T17:35:14-07:00	[thread overview]
Message-ID: <31491d36-18ec-4da4-b1a6-1914d0867492@b14g2000yqd.googlegroups.com> (raw)

Hello every body out there,

As I will have to port a C application (previously started with C, to
have a kind of quick mock up and make direct use of some OS API
functions) which importantly relies on threads.

As things are 1) going fine with this thread model and as 2) the
application gonna be more complex than it is actually, I was thinking
about 1) keep the same low level thread model 2) while using Ada for
further developpement to have a cleaner and more readable design.

Happily, it seems most of Ada compiler designers are wise enought to
try to map Ada task to the underlying OS thread model.

I've found two starting points about it :

http://gcc.gnu.org/onlinedocs/gcc-3.3.6/gnat_rm/Mapping-Ada-Tasks-onto-the-Underlying-Kernel-Threads.html
and
http://www.rrsoftware.com/html/prodinf/triadapaper/triada.mainsrc.html

The RRSoftware page makes reference to Win32s which is not use any
more, so I apologize for this rather old document. I've found another
page about Janus Ada tasking and Windows threads, but after an hour
searching it back, I'm still not able to get it back.

Well, there is no real trouble I want to submit, I think this gonna be
Ok for me. I'm just opening this thread beceause I was thinking this
is an intereresting subject which may be of interest for people
interested in porting some applications from this very widely used and
famous C to Ada, as well as to people aware of efficiency matters (a
big spot with threads).

Peoples having any experiences to share about it are welcome :)

Pleased to read you soon

Y.



             reply	other threads:[~2009-06-28  0:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-28  0:35 Hibou57 (Yannick Duchêne) [this message]
2009-06-28 16:31 ` Maping of Ada tasks on the plateforme OS threads model sjw
2009-06-29 20:56   ` Hibou57 (Yannick Duchêne)
2009-06-29 22:45     ` coroutines (Maping of Ada tasks on the plateforme OS threads model) Georg Bauhaus
replies disabled

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