Newsgroups: comp.sys.transputer
From: schedan@eskimo.com (Daniel Scheurell)
Subject: Re: Please help with Occam/tranputers
Organization: Eskimo North (206) For-Ever
Date: Sat, 19 Mar 1994 04:25:19 GMT
Message-ID: <CMw9MB.KIo@eskimo.com>

Gene Clendon (clendon@bnr.ca) wrote:
{{{ snip snip }}}

: [4]CHAN OF INT linkout:
: timer clock, etc
: ...
:         VAL INT timeout IS 100000/64:   (<-long timeout!)
:         [100]INT buffer:
:         INT time:
:         INT timenow:
: 	  [4]BOOL aborted:
: 	  SEQ
:           clock ? time
:           VAL []BYTE buffer2 RETYPES buffer:
:           [4]CHAN OF ANY out RETYPES linkout: 
: 	    PAR
:             OutputOrFail.t (out[1], buffer2, clock,
:               time+timeout, aborted[1]) 
:             ...
: etc 
{{{ snip snip }}}

Maybe the booleans "aborted" need to be initialized (to FALSE).  I've seen
some library procedures that seem to need this kind of initialization,
though I can't remember if this is one of them.  And I don't remember seeing
the need for initialization in the documentation, either.  Inmos tech
support was glad to supply the answer, though.

: Gene Clendon
: clendon@bnr.ca
: My opinions are my own

--

Dan Scheurell
schedan@eskimo.com
schdj700@ccmail.iasl.ca.boeing.com


