home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!fuchsia!daniel
- From: daniel@fuchsia.uchicago.edu (Daniel Fu)
- Subject: Question on using usleep for real-time stuff
- Message-ID: <daniel.726731765@fuchsia>
- Sender: news@uchinews.uchicago.edu (News System)
- Organization: University of Chicago Computing Organizations
- Date: Mon, 11 Jan 1993 05:56:05 GMT
- Lines: 15
-
- I'd like to do some experiments on a pan/tilt head we've got. When I
- give the head a command to pan, I'd like to be able to predict and
- verify it's in a certain position at a certain time.
-
- So the question is: is usleep the most reliable method? What can I do
- so that usleep takes the least time? Is there a way to detect if the
- usleep was unreliable? Is this a hopeless situation?
-
- I'm using ATT C++ on a Sparc 2 with SunOS4.1.2
-
- Dan
-
- ____________________________________
- Daniel Fu
- daniel@cs.uchicago.edu
-