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