Newsgroups: comp.sys.transputer
From: jdd@aiki.demon.co.uk (Jim Dixon)
Subject: Re: ChanInTimeFail in Inmos C
Organization: AIKI Parallel Systems Ltd
Date: Sat, 6 Aug 1994 18:12:50 +0000
Message-ID: <776196770snz@aiki.demon.co.uk>

In article <MUENKEL.94Aug5103818@daedalus.tnt.uni-hannover.de>
           muenkel@daedalus.tnt.uni-hannover.de "Heiko Muenkel" writes:

> Does anybody now if the time parameter of the function ChanInTimeFail
> from the Inmos C toolset is a relative or an absolute parameter ?
> 
> So must I use an expression like:
> 
> return = ChanInTimeFail (channel, data, count, TIME);
> 
> or:
> 
> return = ChanInTimeFail (channel, data, count, ProcTimePlus (TIME,
>                                                              ProcTime ());
> 
> if I want to break the ChanIn function after waiting the time TIME for
> an input ?

Yes.
-- 
+-----------------------------------+--------------------------------------+
|  Jim Dixon<jdd@aiki.demon.co.uk>  |	    Compuserve: 100114,1027	   |
|AIKI Parallel Systems Ltd + parallel processing hardware & software design|
|	     voice +44 272 291 316  | fax +44 272 272 015		   |
+-----------------------------------+--------------------------------------+

