Flash plug-in : CPU salesman ?!

Vincent Trouilliez vincent.trouilliez at modulonet.fr
Fri May 19 18:48:44 UTC 2006


On Fri, 2006-05-19 at 13:42 +0100, Paul Sladen wrote:
> This depends on how the flash movie is written.  For instance there's two
> ways of doing animation:
> 
> This is much the same a programming, where there are two models;  "polling"
> and "event driven".  With polling, you have a very small loop that keeps
> checking whether anything has changed (which is what uses up all the CPU),
> where-as with event-driven you "yield()" your use of the processor and
> make it available to other programs, *until* you get a message telling you
> that something has happened.

Thanks Paul, for shedding some light.
I don't understand how one would be irresponsible enough to use the
stupid and insane method over the good and sane one, though. Why does
the user even have the choice ? Why doesn't the Macromedia software that
generate these Flash animations, allow to hog the CPU in the first
place ? Oh my God... :o(

--
Vince, terrified






More information about the ubuntu-users mailing list