comp.lang.ada
 help / color / mirror / Atom feed
* Maping of Ada tasks on the plateforme OS threads model
@ 2009-06-28  0:35 Hibou57 (Yannick Duchêne)
  2009-06-28 16:31 ` sjw
  0 siblings, 1 reply; 4+ messages in thread
From: Hibou57 (Yannick Duchêne) @ 2009-06-28  0:35 UTC (permalink / 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.



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

end of thread, other threads:[~2009-06-29 22:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-28  0:35 Maping of Ada tasks on the plateforme OS threads model Hibou57 (Yannick Duchêne)
2009-06-28 16:31 ` 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

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