gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: statemachine flaws/weaknesses


From: Osma Suominen
Subject: Re: statemachine flaws/weaknesses
Date: Mon, 24 Feb 2003 19:48:53 +0200 (EET)

Replying to myself, correcting my mistake...

On Mon, 24 Feb 2003, Osma Suominen wrote:

> I think you've mixed up the timeout passed to the link.loop(), which is
> currently hardcoded to 1 * 100ms, and the timeout used in the while()
> loop in the __sm_block_timeout() function. These are different and in
> effect the gn_sm_loop (and thus link.loop()) may be called several times
> in the current implementation because its timeout is smaller. Now
> whether this really is useful behaviour is another issue, but I don't
> think it's directly harmful the way you say...

In fact you haven't mixed them up, you have merged them in a way that
actually seems quite reasonable, now that I gave it a second thought.

> This is either totally wrong or then correct in some way that I can't
> currently grasp :)

So, it was correct in a way I couldn't grasp at the time I wrote that.

Sorry for my inability to think straight on the first iteration.

-Osma

-- 
*** Osma Suominen *** address@hidden *** http://www.iki.fi/ozone/ ***




reply via email to

[Prev in Thread] Current Thread [Next in Thread]