Not to thread the X server
pcpa at mandriva.com.br
pcpa at mandriva.com.br
Wed Jun 18 21:37:19 PDT 2008
Quoting Tiago Vignatti <vignatti at c3sl.ufpr.br>:
> Juliusz Chroboczek escreveu:
>> Tweaking the scheduler won't help much if there are long-lived
>> requests. What would be cool would be the ability either to suspend
>> a request in the middle of its execution and use a block handler to
>> resume it after servicing input events and other clients, or to have
>> the main loop delegate the execution of a CPU-bound request to
>> a thread pool.
>
> The smart scheduler already does time-based scheduling.
This could require client colaboration. It won't help much if you
keep pressing esc, but your application is in full screen and waiting
to finish some time consuming renderization, probably with input devices
grabbed, and doesn't listen to the events.
If the window manager can get that application out of full screen
mode, the problem should be easier to handle...
> Thanks,
>
> --
> Tiago Vignatti
> C3SL - Centro de Computação Científica e Software Livre
> www.c3sl.ufpr.br
Paulo
More information about the xorg
mailing list