comp.lang.ada
 help / color / mirror / Atom feed
From: Thierry Lelegard <thierry.lelegard@canal-plus.fr>
Subject: Re: GNAT 3.14 NEW FEATURES LIST Current as of May 30th, 2001
Date: Fri, 29 Jun 2001 18:10:05 +0200
Date: 2001-06-29T18:10:05+02:00	[thread overview]
Message-ID: <3B3CA85D.C68FDE7C@canal-plus.fr> (raw)
In-Reply-To: yv0%6.1666$Kf3.17248@www.newsranger.com

> The only other compatability issue I saw in that (huge) list of chages was that
> they are changing the default Linux thread library to native instead of FSU. I
> can see arguments either way on that one.

Tha major issue with FSU threads is that they are unknown to the kernel
and any I/O is blocking for the whole process. Any single Text_IO.Get_Line
or socket read blocks all tasks in the application. This very unlikely
the kind of behavior one would expect from a multi-tasking Ada application.

Using the native threads removes the problem.

The only reason for using FSU thread is the full respect of RM tasking
semantic. In the real world, applications make I/O and I suppose that the
number of applications which need the precise tasking semantic but can
afford blocking I/O's is quite small...

-Thierry
____________________________________________________________________________

Thierry Lelegard, "The Jazzing Troll", Email: thierry.lelegard@canal-plus.fr
CANAL+ Technologies, 34 place Raoul Dautry, 75906 Paris Cedex 15, France
Tel: +33 1 71 71 54 30   Fax: +33 1 71 71 52 08   Mobile: +33 6 03 00 65 75
____________________________________________________________________________



  reply	other threads:[~2001-06-29 16:10 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-29 12:33 GNAT 3.14 NEW FEATURES LIST Current as of May 30th, 2001 Soeren.Henssel-Rasmussen
2001-06-29 13:46 ` Al Christians
2001-06-29 14:44   ` Ted Dennison
2001-06-29 16:10     ` Thierry Lelegard [this message]
2001-06-30  0:26   ` Jeffrey Carter
2001-06-30  1:04     ` Al Christians
2001-06-29 14:13 ` Ted Dennison
2001-06-29 17:22 ` nickerson
2001-06-29 20:46   ` Al Christians
2001-06-29 20:49     ` Ted Dennison
2001-06-29 22:31       ` nickerson
2001-06-30  0:11         ` Larry Kilgallen
2001-07-02 21:16   ` Robert Dewar
2001-07-02 22:10     ` nickerson
2001-07-03 13:31       ` Ted Dennison
2001-07-03 20:20         ` nickerson
2001-06-29 22:53 ` nickerson
2001-06-30  2:06   ` Windows.Only.Vendors
2001-06-30 13:51   ` Simon Wright
2001-07-02 13:47   ` Ted Dennison
2001-07-03  2:06   ` Robert Dewar
2001-07-03 21:03     ` nickerson
replies disabled

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