Newsgroups: comp.sys.transputer
From: muenkel@daedalus.tnt.uni-hannover.de (Heiko Muenkel)
Subject: ChanInTimeFail in Inmos C
Organization: Universitaet Hannover, Theoretische Nachrichtentechnik
Date: Fri, 5 Aug 1994 08:38:18 GMT
Message-ID: <MUENKEL.94Aug5103818@daedalus.tnt.uni-hannover.de>

Hello !

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 ?


Thanks in advance,

Heiko
-- 
____________________________________________________________________________

Dipl.-Ing. Heiko Muenkel           Universitaet Hannover
				   Institut fuer 
				   Theoretische Nachrichtentechnik
				   und Informationsverarbeitung
muenkel@tnt.uni-hannover.de        Appelstrasse 9A
fax:    +49-511-762-5333           30167 Hannover
phone:  +49-511-762-5323           Germany
____________________________________________________________________________

