🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.transputer
2 messages
2 total messages Started by SPAHNI Stephane Thu, 06 Dec 1990 08:42
Meiko CSN question
#1158
Author: SPAHNI Stephane
Date: Thu, 06 Dec 1990 08:42
13 lines
1026 bytes
I would like to make two programs communicate through the CSN functions of
Meiko. The problem is when I start them separately: if I use only one par
file with the two programs started at the same time, it works fine. But when
I start them separately, the "csn_lookupname" called by the "client" never
returns ! Note that one process in on the host computer (a Sun), and the
second one is on the MEIKO board. Is it possible ? What am I making wrong ?

Stephane Spahni
University of Geneva

MHS: spahni@cui.unige.ch
UUCP: ...!mcsun!chx400!cui!spahni
BITNET: spahni@cgeuge51.bitnet
Re: Meiko CSN question
#1169
Author: P.J. Mitchell
Date: Mon, 10 Dec 1990 13:03
28 lines
1775 bytes
From article <4050@cui.unige.ch>, by spahni@cui.unige.ch (SPAHNI Stephane):
> I would like to make two programs communicate through the CSN functions of
> Meiko. The problem is when I start them separately: if I use only one par
> file with the two programs started at the same time, it works fine. But when
> I start them separately, the "csn_lookupname" called by the "client" never
> returns ! Note that one process in on the host computer (a Sun), and the
> second one is on the MEIKO board. Is it possible ? What am I making wrong ?
> 
> Stephane Spahni
> University of Geneva

Stephane,

   I'm afraid what you ask is not possible. Each "job" initiated by mrun is
independant of any others, so your two processes can only communicate via
the CSN if they are in the same jobs. Otherwise there could be chaos with
one user's job servicing requests from another's because they happen to
have used the same transport names.

   Your csn_lookupname never returns because no process in the same job has
registered a port with the requested name.

   Why is starting the two processes simultaneously a problem ?
--
Paul Mitchell (CMA#136(18) MAG#65715 DoD#0145) | Computer Centre,
JANET:  p.j.mitchell@uk.ac.keele.seq1          | Keele University, Keele,
USENET: p.j.mitchell@seq1.keele.ac.uk          | Staffordshire, ST5 5BG, U.K.
BITNET: p.j.mitchell%seq1.keele.ac.uk@ukacrl   | (+44 or 0)782 621111 ext 3302
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads