comp.lang.ada
 help / color / mirror / Atom feed
From: mgk25@cl.cam.ac.uk (Markus Kuhn)
Subject: Re: tasking in Ada and Annex D question
Date: 1999/02/02
Date: 1999-02-02T00:00:00+00:00	[thread overview]
Message-ID: <796jj7$5s2$1@pegasus.csx.cam.ac.uk> (raw)
In-Reply-To: 793jl9$hf@drn.newsguy.com

In nabbasi@earthlink.net writes:
|> Since the native threads seem to give the behavior one would
|> expect, wouldn't make more sense that this become the
|> default when gnat is installed on Linux, and not the FSU one.

The Ada for Linux team people have recently discussed this and
decided to standardize on the native threads and to try and fix
the kernel to achieve Annex D compliance with the native linuxthreads.
Supporting both thread libraries would lead to a real maintenance
hazzle, because all precompiled shared libraries provided on top
of the GNAT RTS would have to be provided twice, once for linuxthreads
and once for FSU. The FSU threads are primarily there to achieve
formal Annex D compliance, which you can't currently do with
linuxthreads, and they are otherwise of very little practical
interest. They provide no concurrency when system calls block,
and they provide no parallelism on multiprocessor machines,
while the native linuxthreads do offer all this.

Markus

-- 
Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK
Email: mkuhn at acm.org,  WWW: <http://www.cl.cam.ac.uk/~mgk25/>




  parent reply	other threads:[~1999-02-02  0:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-31  0:00 tasking in Ada and Annex D question nabbasi
1999-02-01  0:00 ` Dr. Hubert B. Keller
1999-02-02  0:00 ` Markus Kuhn [this message]
1999-02-02  0:00   ` robert_dewar
1999-02-02  0:00     ` Markus Kuhn
1999-02-02  0:00       ` Niklas Holsti
1999-02-03  0:00         ` Ehud Lamm
1999-02-03  0:00       ` robert_dewar
1999-02-02  0:00 ` robert_dewar
1999-02-02  0:00   ` Roger Racine
1999-02-02  0:00     ` robert_dewar
1999-02-03  0:00       ` Nick Roberts
1999-02-03  0:00         ` Frank Mueller
1999-02-03  0:00         ` Frank Mueller
1999-02-03  0:00         ` Roger Racine
1999-02-03  0:00     ` Tom Moran
replies disabled

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