Subject: Re: smartmedia adaptors
To: Jukka Marin <jmarin@pyy.jmp.fi>
From: Lennart Augustsson <lennart@augustsson.net>
List: tech-kern
Date: 01/26/2000 09:23:30
Jukka Marin wrote:

> On Tue, Jan 25, 2000 at 06:18:00PM -0800, Chris G. Demetriou wrote:
> > certainly, a DIAGNOSTIC check if it's a long delay might be in order.
> > i dunno.
>
> How about code segments like
>
>         for (i = 0; i < 10000000; i++) {
>                 if (something) break;
>                 delay(50);
>         }
>
> A small delay.. which can become a very large one.  (I have seen this
> kind of loops somewhere..)

Yes, these will be more difficult to catch.


--

        -- Lennart