Newsgroups: comp.sys.transputer
From: schedan@eskimo.com (Daniel Scheurell)
Subject: Re: Errors at high priority
Organization: Eskimo North (206) For-Ever
Date: 19 Mar 94 22:56:37 GMT
Message-ID: <CMxp2H.MGy@eskimo.com>

Andy Rabagliati (andyr@wizzy.com) wrote:
: Sometimes, when debugging a transputer network, the system comes to a
: halt without setting the error flag.
: Investigation shows that a high priority process has hit an error
: condition, stopped, but failed to raise the error flag.
: The solution is to execute the following AT HIGH PRIORITY, early on in
: your program. It will need the /w switch to compile.
: ASM
:   SETHALTERR
:   
: An example of its use is as follows.
: Add extra handwaving for C :-)
: Cheers,    Andy.

: PRI PAR
:   SEQ
:     ASM
:       SETHALTERR
:     WHILE TRUE
:       ALT
:         channel1 ? x
: 	  SKIP
:   SEQ
:     init()
:     WHILE TRUE
:       ALT
:         channel2 ? y
: 	  SKIP
: 	  

Andy,
  Is this a problem only on T2's ????

--

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

