nap(2) for AT&T UNIX V.3

Mark J. DeFilippis mark at promark.UUCP
Wed May 30 12:15:54 AEST 1990


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



More information about the Comp.unix.questions mailing list