comp.lang.ada
 help / color / mirror / Atom feed
From: alliot@enac5.enac.dgac.fr (Jean-Marc Alliot)
Subject: Re: Ada and Unix Sockets
Date: 29 Nov 90 22:59:38 GMT	[thread overview]
Message-ID: <1990Nov29.225938.3642@enac.dgac.fr> (raw)
In-Reply-To: 866@tfsg.UUCP

Our news system broke off last week and I didn't get the address of the
poster of the query. So I'm posting this answer directly to the net.

We experiened the same rpoblem using ADA-ALSYS compiler and
UNIX sockets on a SUN (3.5, 4.0 and 4.1 OS). 

The reason is quite easy to understand. Every ADA task belongs to the same 
UNIX process. And any system call (like read, write or accept) is 
blocking (by default), and blocking for the WHOLE UNIX process. So
every task is automatically blocked. Solving completely the problem
was quite difficult. We had to mask the UNIX OS, and it ended in more than
5000 lines of ADA code. The packages are now efficient and probably portable
on any BSD-based system.

      reply	other threads:[~1990-11-29 22:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1990-11-19  4:15 Ada and Unix Sockets Bradley Schmerl
1990-11-20 20:58 ` Paul Stachour
1990-11-21 16:05   ` Ada and OS tasks (was Ada and Unix Sockets) Jerry Callen
1990-11-23 13:19     ` Ada and OS tasks Jean-Loup Gailly
1990-11-26 12:34 ` Ada and Unix Sockets Dennis Gibbs
1990-11-29 22:59   ` Jean-Marc Alliot [this message]
replies disabled

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