Newsgroups: comp.sys.transputer
From: yhac@btmp2u.sh.bel.alcatel.be (Yves Hacha SH30 9370)
Subject: Re: ChanInTimeFail in Inmos C
Organization: Alcatel Bell
Date: 11 Aug 1994 15:54:57 GMT
Message-ID: <32dhkh$3t2@btmplq.god.bel.alcatel.be>

Heiko Muenkel (muenkel@daedalus.tnt.uni-hannover.de) wrote:
: 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
: ____________________________________________________________________________

Use the first expression!

______________________________________________________________________
                              __      __
                              \ \    / /
   ___________                 \ \  / /   H   A   C   H   A
  _\ ALCATEL /_                 \ \/ /__    __  ____   ____
  \ \ BELL  / /                  \  / \ \  / / / __ \ / ___)
   \ \SH 30/ /                   / /   \ \/ / / /___/ \____
    \ \   / /                  _/ /     \  /  \ \___   ___ \
     \ \ / /                   \_/       \/    \____) (____/
      \ Y /
       \ /           Alcatel Bell Telephone, SH30 (A5)
        Y            Francis Wellesplein 1, B-2018 Antwerpen, BELGIUM
                     
           Internet: yhac@sh.bel.alcatel.be   Phone: (32) 3 240 93 70
           CompuServe: 100343,227             Fax:   (32) 3 240 99 46
______________________________________________________________________

