home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / programm / 4565 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.2 KB  |  30 lines

  1. Newsgroups: comp.unix.programmer
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!torn!maccs!mcshub!nimios!krasnor
  3. From: krasnor@nimios.eng.mcmaster.ca (Carl Krasnor)
  4. Subject: Programming sub-second delays in C programs.
  5. Message-ID: <1992Sep8.155916.1087@mcshub.dcss.mcmaster.ca>
  6. Followup-To: poster
  7. Sender: krasnor@McMaster.CA
  8. Nntp-Posting-Host: nimios.eng.mcmaster.ca
  9. Organization: Communications Research Laboratory, McMaster Univ
  10. Date: Tue, 8 Sep 1992 16:52:12 GMT
  11. Lines: 17
  12.  
  13. Forgive me if I am asking a question which is widely known but I have Read
  14. The Fine Manual ad nauseum and cannot answer this question:
  15.  
  16. How does one program a sub-second delay under Unix? What I need is a version
  17. of sleep() which can get down to 10 millisecond resolution instead of just
  18. whole seconds. 
  19.  
  20. I would like to do this both under SunOS and System V.
  21.  
  22. I will summarize to the newsgroup if the response justifies it.
  23.  
  24. Thanks in advance for your suggestions.
  25. -- 
  26. ===============================================================================
  27. Carl Krasnor, Communications Research Lab, McMaster U., Hamilton, Ont. CANADA
  28. krasnor@McMaster.CA   VE3EGK   Tel:(416) 525-9140 x4171    FAX:(416) 521-2922
  29. ===============================================================================
  30.