home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / hp / 14616 < prev    next >
Encoding:
Text File  |  1993-01-07  |  970 b   |  29 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!hpscit.sc.hp.com!cupnews0.cup.hp.com!hesh
  3. From: hesh@cup.hp.com (Chris Steinbroner)
  4. Subject: Re: HP-UX usleep equivalent?
  5. Sender: news@cup.hp.com (News Admin)
  6. Message-ID: <C0I5K4.25G@cup.hp.com>
  7. Date: Thu, 7 Jan 1993 21:12:03 GMT
  8. Distribution: na
  9. Reply-To: Chris Steinbroner <hesh@cup.hp.com>
  10. References: <C0I4J3.r9y@austin.ibm.com>
  11. Organization: HP-UX Kernel Lab, Cupertino, CA
  12. X-Newsreader: TIN [version 1.1 PL8.1]
  13. Lines: 14
  14.  
  15. Will Fiveash (will@austin.ibm.com) wrote:
  16. : Does HP UX have an equivalent system call to usleep which accepts an
  17. : argument with microsecond granularity?  The closest system call I could
  18. : find was sleep (whole second granularity) which is too coarse for my
  19. : purposes.
  20.  
  21. usleep does not give microsecond granularity.
  22. sure, you can ask for it, but you won't get it.
  23. granularity is going to be 1/HZ, no matter how
  24. small you'd like it to be.
  25.  
  26. -- hesh
  27.  
  28. p.s.  use select().
  29.