home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / hp / 14736 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  856 b 

  1. Path: sparky!uunet!olivea!news.bbn.com!bbn.com!adiwan
  2. From: adiwan@bbn.com (Arif Diwan)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: HP-UX usleep equivalent?
  5. Message-ID: <1993Jan11.151208@bbn.com>
  6. Date: 11 Jan 93 20:13:52 GMT
  7. References: <C0I4J3.r9y@austin.ibm.com>
  8. Distribution: na
  9. Organization: Bolt, Beranek & Newman
  10. Lines: 12
  11. NNTP-Posting-Host: blowtorch.bbn.com
  12.  
  13. In article <C0I4J3.r9y@austin.ibm.com>, will@austin.ibm.com (Will Fiveash) writes:
  14. W.Fiveash|>      Does HP UX have an equivalent system call to usleep which accepts an
  15. W.Fiveash|>      argument with microsecond granularity? The closest system call I could
  16. W.Fiveash|>      find was sleep (whole second granularity) which is too coarse for my
  17. W.Fiveash|>      purposes.
  18.  
  19. You could use select() or poll() to get microsecond granularity.
  20.  
  21. -- 
  22.  
  23.                 -- Arif Diwan (adiwan@bbn.com)
  24.                         617/873-6274
  25.