Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!agate!bionet!apple!bloom-beacon!tut.cis.ohio-state.edu!osu-cis!att!ihlpl!knudsen From: knudsen@ihlpl.ATT.COM (Knudsen) Newsgroups: comp.unix.questions Subject: Re: Delay for a fraction of a second in C Summary: OS9 Message-ID: <7529@ihlpl.ATT.COM> Date: 7 Nov 88 20:34:04 GMT References: <1145@orion.cf.uci.edu> <2804@ingr.UUCP> <26678@ucbvax.BERKELEY.EDU> Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 13 In the OS9 operating system, you can sleep for a granularity of 1/10 sec, or on the Color Computers, 1/60 sec. The C library sleep() only allows 1 sec resolution, but a general system call lets me get the 16.7 ms resolution on my Coco. I use it to play MIDI music, so I know it works; I've *heard* it work. Moral: Don't confuse what the C Std Library (or any other lib) gives you with what the underlying OS is really capable of. Portability? Bring friends. Big strong friends.... -- Mike Knudsen Bell Labs(AT&T) att!ihlpl!knudsen "Lawyers are like nuclear bombs and PClones. Nobody likes them, but the other guy's got one, so I better get one too."