Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!ames!ucbcad!ucbvax!decvax!tektronix!reed!nscpdc!djg From: djg@nscpdc.NSC.COM (Derek J. Godfrey) Newsgroups: comp.unix.wizards Subject: Re: Device driver timeout question ... Message-ID: <905@nscpdc.NSC.COM> Date: Thu, 20-Aug-87 15:40:50 EDT Article-I.D.: nscpdc.905 Posted: Thu Aug 20 15:40:50 1987 Date-Received: Sun, 23-Aug-87 08:19:36 EDT References: <570@obiwan.UUCP> <666@muffy.CalComp.COM> Organization: National Semiconductor, Portland Development Center, Portland, OR Lines: 15 Keywords: device driver, timeouts, sick devices Summary: untimeout() In article <666@muffy.CalComp.COM>, nawaf@muffy.CalComp.COM (Nawaf K. Bitar) writes: > In article <570@obiwan.UUCP>, roger@mips.UUCP (Roger March) writes: > > So (finally) my question is: is there a way to kill outstanding an > > "timeout" when realize it is no longer neccessary? > > My understanding is that you can call: > > untimeout(fun, arg) > int (*fun)(); > caddr_t arg; > For UNIX V.x the calls should be int t; t = timeout( fun, arg, time ); untimeout( t );