Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!bfmny0!tneff From: tneff@bfmny0.UU.NET (Tom Neff) Newsgroups: comp.lang.c Subject: Re: sleep()ing less than a second Message-ID: <15026@bfmny0.UU.NET> Date: 19 Dec 89 20:30:53 GMT References: <89348.231211BACON@MTUS5.BITNET> <2754@servax0.essex.ac.uk> <1937@crdos1.crd.ge.COM> Reply-To: tneff@bfmny0.UU.NET (Tom Neff) Lines: 16 In article <1937@crdos1.crd.ge.COM> davidsen@crdos1.crd.ge.COM (Wm E Davidsen Jr) writes: >[how to sleep less than a second?] >Common names are mspeel (in ms), usleep (in us, but clock tick >resolution), and nap (ms again). > > nap is xenix and 5.3.2 and later ... However the argument to nap() in Sys V/386 is in HUNDREDTHS of a second, not in milliseconds. V/386 CURSES provides a separate napms() function for millisecond precision. Go figure. -- "We plan absentee ownership. I'll stick to `o' Tom Neff building ships." -- George Steinbrenner, 1973 o"o tneff@bfmny0.UU.NET