Can Unix sleep in terms of mili/micro?

Conor P. Cahill cpcahil at virtech.uucp
Thu Sep 13 09:13:26 AEST 1990


In article <MUTCHLER.90Sep11140510 at zule.EBay.Sun> mutchler at zule.EBay.Sun (Dan Mutchler) writes:
>In article <84 at dlss2.UUCP> james at 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 



More information about the Comp.unix.internals mailing list