[MPlayer-dev-eng] MplayerXP vs Mplayer. Hall of truth.
Daniel Egger
degger at fhm.edu
Sun Mar 17 17:46:52 CET 2002
Am Son, 2002-03-17 um 16.34 schrieb Nick Kurshev:
> And without any reasons! Threads are good things! They provide better CPU
> utilization! We can decode in non realtime mode - simply when cpu is free.
> but realtime process - page flipping doesn't require a lot of cpu resources.
Threads are useful if you can find blocking tasks which are
parallelisable and thus prevent maximum cpu utilisation. Threads have
several drawbacks, one of them are locking issues another one would
be overhead for the thread management, another one would be harder
debugability, another one would be the against-nature of threads versus
processes on Unixsystems.
IBM uses threads with Java extensivly for no good reason and all they
get is piss-poor performance for which they're blaming linux.
Please use threads only iff there's some real value in that.
--
Servus,
Daniel
More information about the MPlayer-dev-eng
mailing list