Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!princeton!puvax2!PUCC.BITNET!D0430 From: D0430@PUCC.BITNET (Paul Lansky) Newsgroups: net.unix-wizards Subject: DELAY Message-ID: <1163@PUCC.BITNET> Date: Tue, 7-Oct-86 09:46:33 EDT Article-I.D.: PUCC.1163 Posted: Tue Oct 7 09:46:33 1986 Date-Received: Wed, 8-Oct-86 00:47:50 EDT Reply-To: D0430@PUCC.BITNET Organization: Princeton University Computing Center, Princeton, New Jersey Lines: 19 howdy, I'd like to express many thanks for the dozen or so answers I've gotten to my DELAY query. They all suggest using timeout/sleep in some combination or subterfuge. I've implemented this and it seems to work beautifully. The most economical and straightforward suggestion came from Jim Lowe who suggested the following (similar to what happens in the uda.c and tmscp.c drivers in Ultrix) (void)timeout(wakeup, (caddr_t)&tp->t_dev, hz>>1) ; (void)sleep((caddr_t)&tp->t_dev, PZERO); You all are quite a resource! Paul Lansky Music Department Princeton University {seismo, ucbvax} princeton!winnie!paul bitnet == d0430@pucc