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