Wed, 16 Mar 2005 11:12:23 -0500
(feel free to post this reply in any newsgroup)
> From: Trevor Barton <[log in to unmask]>
> My knowledge of Ada is pretty much limited to information gleaned from
> the ongoing discussion in this group.
A better discussion forum is comp.lang.ada
> AIUI, Ada natively supports multithreading. How is that implemented
> relative to the underlying oprtating system?
The implementation is not dictated by the language; it is up to the
> Does it use the OS's multi-taking environmant to implement stuff
> like scheduling and task synchronisation, or does it use its own, or
> is that something that can be chosen by the user, or is it
> implemntation defined?
Some vendors use Posix threads, others use whatever the target OS
provides, others provide their own threading runtime.
_All_ of them meet the Ada standard for how Ada tasks behave. "task"
is Ada's name for "thread"; it is helpful in this context to
distinguish between the two, since they have somewhat different
semantics. Each vendor typically needs to add some "glue" on top of
the underlying thread implementation to make it meet the "task"
> What about Ada running on single-tasked OSs, or indeed on no OS at all?
Some vendors do that, as well.
For a list of Ada vendors, see www.adaic.com, in particular