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

Re: [MiNT] GEM mainloop and time consuming tasks



On Tue, 2013-01-29 at 14:10 +0100, Ole wrote:

>  What's wrong with calling evnt_multi_fast(...) every 100kb or every 1MB 
>  or whatever

What if "100kb" takes 50ms in some cases but 30 seconds in other cases?
You would need some sort of timeouts as well. And no matter how well you
do this, it will still result in a sluggish UI response.

Running the UI in a separate process will usually result in a better
user experience.

>  but you didn't mention that. (evnt_multi_fast should also allow and 
>  FD_SET parameter to watch for socket events...)

Have I missed something? Can XaAES wait for file descriptor events as
well now?

Jo Even