[comp.unix.xenix] Found a nap

jfh@rpp386.Dallas.TX.US (The Beach Bum) (10/07/88)

Erik Murray posted a request for a nap() timer.  I knew that I had seen
one on the net but couldn't find it.

I have now found it, so if anyone is interested, let me know.  It implements
the ft device used by curses for short timer requests, down to 1 HZ
resolution.

If there are enough requests I'll post it to the net.  It doesn't appear
to be in the archives for any group, but the date on the source is 1981,
so Ghod only knows ...

If you want to uucp it, the file is rpp386!~/nap.shar.Z.  I am currently
working on a Xenix port.  A suitable L.sys line is:

rpp386 Any ACU 2400 12142506272 in:--in:-BREAK-in: anonuucp

That seems to work just fine.
-- 
John F. Haugh II (jfh@rpp386.Dallas.TX.US)                   HASA, "S" Division

      "Why waste negative entropy on comments, when you could use the same
                   entropy to create bugs instead?" -- Steve Elias

edp@pyr.gatech.EDU (Warren Tucker) (10/09/88)

>[re Xenix nap].  Its argument is the number of milliseconds
>to pause, granularized to 1/HZ milliseconds.
I'm not sure about other implementations of XENIX, but the
granularity of XENIX nap() is 20 msec for 80286 and 50 msec
for 8086/8088 implementations.  nap() is not available in
straight Sys V or BSD.

-- 
Warren Tucker
...!{akgua,allegra,amd,hplabs,ihnp4,seismo,ut-ngp}!gatech!gitpyr!edp