[comp.unix.aix] usleep

shamash@cs.columbia.edu (Ari Shamash) (02/10/90)

Does anybody have a working usleep() procedure working?  I need usleep
to compile xlock.

Thanks,
Ari


-- 
shamash@cs.columbia.edu
shamash@gollum.cs.columbia.edu
...!rutgers!columbia!shamash

woan@peyote.cactus.org (Ronald S. Woan) (02/10/90)

In article <1990Feb10.010733.10416@cs.columbia.edu>, shamash@cs.columbia.edu (Ari Shamash) writes:
> Does anybody have a working usleep() procedure working?  I need usleep
> to compile xlock.

Remember usleep can usually be replaced by a sleep call with the time
divided by a thousand or something like that. Anyway, if I remember
correctly, one of the contrib or client programs on the X11R4
distribution tape has a usleep implemented with setitimer (check xmh
or Xwinstones). Wasn't the only call to usleep in life routine for xlock
anyway?

						Ron
-- 
+-----All Views Expressed Are My Own And Are Not Necessarily Shared By------+
+------------------------------My Employer----------------------------------+
+ Ronald S. Woan       @cs.utexas.edu:ibmchs!auschs!woan.austin.ibm.com!ron +
+ second choice:                                     woan@peyote.cactus.org +