[comp.sys.transputer] Connecting links on the SAME transputer

malc@inmos.co.uk (Malcolm Boffey) (06/30/89)

Although I haven't tried it, it should be possible to connect a link back on
itself, I.E. connect LinkIn1 to LinkOut1. This then gives a block move engine
that uses 1 spare link. The usage is very similar to connecting two links on
the same transputer together :-

	VAL spare.link IS 1 : -- This link connects back onto itself
	CHAN OF WHATEVER block.move.in, block.move.out :
	PLACE block.move.in  AT spare.link + 4:
	PLACE block.move.out AT spare.link :
	PRI PAR
	  PAR
	    block.move.out ! data.source
	    block.move.in  ? data.dest
	  Something.Else ()

The PRI PAR is used to make sure that we start the communication before we get
down to doing other (unrelated) work.
	malc.
--
 Malcolm Boffey, Transputer Group, Inmos.   | Inmos Ltd,
email: malc@inmos.co.uk                     | 1000 Aztec West, Almondsbury,
JANET: MALC@UK.CO.INMOS                     | Brisol BS12 4SQ. 
UUCP:  ...uunet!mcvax!ukc!inmos!malc        | Tel. +44 454 616616 x610