comp.lang.ada
 help / color / mirror / Atom feed
From: "Theodore E. Dennison" <dennison@escmail.mmc.orl.com>
Subject: Re: How can two tasks in different processors rendezvous?
Date: 30 Jan 1995 18:24:40 GMT
Date: 1995-01-30T18:24:40+00:00	[thread overview]
Message-ID: <3gjat8$1he@theopolis.orl.mmc.com> (raw)
In-Reply-To: D2zwAr.IqB@taurus.cs.nps.navy.mil

cordeiro@cs.nps.navy.mil (mauricio cordeiro) wrote:
>
> We have 2 different Ada tasks running asynchronously in two different
> workstations, and we need to transfer information from one to the other
> (a kind of remote rendezvous...).
> The workstations run Unix and are networked, but the compiler we have 
> (SunAda), doesn't support any kind of RCP(remote procedure calls) or any
> other similar facility. 
> 
> HOW CAN I DO IT ? ANY SUGGESTIONS ???? 

Man, I should really become a consultant....


Ada 83, right?

There is no simple way to do this (in Ada 83). However, SunAda (1.1 at
least) allows interrupt entries:

A simple task could be written to accept interrupt entries, read a 
UNIX socket, and pass off the information to another Ada task via a
rendezvous. Another task (or subroutine) could be written to open up a
UNIX TCP/IP socket and wait for its data to be read. Voila: remote
rendezvous!

This is a bit of an oversimplification of the issues involved, but the
point is that it is quite doable if you have an experienced Ada person
who also happens to know UNIX networking. (If not, aquire one, or add
time for the learning curve).


T.E.D.
dennison@escmail.orl.mmc.com



      parent reply	other threads:[~1995-01-30 18:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-01-26  4:25 How can two tasks in different processors rendezvous? mauricio cordeiro
1995-01-30 13:49 ` Mats Weber
1995-01-30 22:06   ` Ron Sercely
1995-02-01 12:19     ` Robert Dewar
1995-01-30 18:24 ` Theodore E. Dennison [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