[comp.unix.questions] nap

mark@promark.UUCP (Mark J. DeFilippis) (05/30/90)

I remember seeing this before, but my memory does not serve me well.
I need to implement a nap(2) similar to that found in SCO UNIX
and SCO XENIX under AT&T Unix which allows me to sleep < 1 sec.
I have both SCO and AT&T UNIX for i386.

AT&T UNIX has no such animal.  I was going to fake it by using
a streams device and use its timeout ability in the POLL(2)
but it is a kludgy hack I prefer not to put my name on.
Besides I think the stream would have to be a real physical
device and I don't have one I can just give up)

If anyone has done this before and can point me at a starting
place, or give me a short outline of what is required I would
really appreciate it.

Email would be best as I don't get to read news consistently these
days.  Probably how i missed the solution (if there was one) in
the first place.

-- 

Mark J. DeFilippis
UUCP: uunet!adelphi!markd