Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!dog.ee.lbl.gov!ucsd!sdd.hp.com!samsung!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.internals Subject: Re: Can Unix sleep in terms of mili/micro? Message-ID: <1990Sep12.231326.19897@virtech.uucp> Date: 12 Sep 90 23:13:26 GMT References: <24437@adm.BRL.MIL> <84@dlss2.UUCP> Reply-To: cpcahil@virtech.UUCP (Conor P. Cahill) Organization: Virtual Technologies Inc., Sterling VA Lines: 17 In article mutchler@zule.EBay.Sun (Dan Mutchler) writes: >In article <84@dlss2.UUCP> james@dlss2.UUCP (James Cummings) writes: > >Looping is in general a bad delay because different machines require >different CPU time to perform the loop. Intelligent use of macros can >help this, but unless it is in the kernel where a context switch >cannot occur you can only guareentee that you will not return before >the required delay. Plus it has a bad little side effect of eating up gobs and gobs of cpu time. -- Conor P. Cahill (703)430-9247 Virtual Technologies, Inc., uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160 Sterling, VA 22170