🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.transputer
Article #2659

Occam channels have only two ends!

#2659
From: ADRIAN
Date: Sat, 29 Apr 1989 16:28
46 lines
2401 bytes
Re: "Parallel output on TDS2 for the PC - Kenneth Lui"
------------------------------------------------------

On the TDS, the screen is an occam channel. An occam channel is a point-to-
point connection! It has but two ends. One end is attached to the "screen"
(well a process in the TDS:think it maps straight through to the server,
but I don't recall..), the *other* end *should* be connected to a single
occam process.

What worries me about your example is that you managed to compile it and try
to run it! I know that for a variety of reasons the 'screen' and 'keyboard'
channels in the TDS are treated less rigorously than normal occam channels:
maybe you fell through that hole?

(Proc1) ------\
               \ [???????????] 
                /[some horrific non-occam,non-transputer]----- screen
(Proc2)------- /       [joint!]


This is more than pedantry: the way the transputer implements channels
whether in memory (in this case) or on a link engine (eventually when
going out to the server on the PC) guarantees that your attempt will
fail, as indeed it did!

If you really want to achieve something like this when talking to a sequential
machine like a PC , one way is to put a multiplexing process between the
TDS screen channel, and your two 'virtual screen' channels. But I suspect
that you will decide that this wasn't really what you wanted to do anyway!

Hope this throws some light on the matter!


					Adrian Lawrence
----------------------------------------------------------------------------
ADRIAN @ UK.AC.OXFORD.VAX	Microprocessor Unit, Oxford University,
				13,Banbury Road, Oxford, Oxon. OX2 6NN. UK.
----------------------------------------------------------------------------
EARN/Bitnet:		ADRIAN%UK.AC.OXFORD.VAX@AC.UK
			{EARN node UKACRL}

ARPA:			ADRIAN%VAX.OXFORD.AC.UK

ACSnet:			adrian@vax.oxford.ac.uk@au.oz.munnari
                        [ean.ac.uk%nummari.cs.mu]
-----------------------------------------------------------------------------
Technical Details
Message-ID: <8904291627.AA23651@uk.ac.ox.prg>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!vax.oxford.ac.uk!ADRIAN

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!vax.oxford.ac.uk!ADRIAN
From: ADRIAN@vax.oxford.ac.uk
Newsgroups: comp.sys.transputer
Subject: Occam channels have only two ends!
Message-ID: <8904291627.AA23651@uk.ac.ox.prg>
Date: 29 Apr 89 16:28:45 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 46