[mcclim-devel] Problems in reading with :timeout

duncan at robotcat.demon.co.uk duncan at robotcat.demon.co.uk
Wed May 4 13:14:44 UTC 2005


tomi.neste at netikka.fi wrote:
> I'm having some newb confusion about the timeout value in stream input  
> functions, (read-gesture ...) etc.
> (read-gesture :timeout 0) always just returns NIL, while timeout values >=
> 0  
> don't seem to have any effect at all. For example, in the Listener  
> (read-gesture :timeout 1) keeps blocking until some gesture is given.  
> Another source of confusion is the :input-wait-handler. From reading the =
>  
> spec I got the idea that it should be called "continously" when there  
> isn't any input in the given stream, but it looks like the function is  
> never executed.
> Are these real problems or am I just missing something obvious?

I see the same behaviour as you describe when running under Beagle; I
don't know if this is in fact the correct behaviour or if there's
a problem in the event processing code.

You are not alone ;-)

-Duncan



> _______________________________________________
> mcclim-devel mailing list
> mcclim-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel
> 




More information about the mcclim-devel mailing list