[MPlayer-dev-eng] [PATCH] Announce SMP support for Win32

Steinar H. Gunderson sgunderson at bigfoot.com
Tue Mar 16 18:36:41 CET 2010


On Tue, Mar 16, 2010 at 07:36:24AM +0100, Reimar Döffinger wrote:
>> Don't hardcode dwNumberOfProcessors=1 for Win32 anymore; the mutex/event code
>> is still far from perfect, but now good enough that I can't find any codecs
>> that breaks with this (tested on a quad with various codecs).
> If you think it works... The RealVideo codecs btw. are one of those that
> definitely broke in the past with this.

FWIW, I see comments in vd_realvid.c that tries to patch away multithreaded
code for RV40, but seemingly only on Windows. No such thing for RV30, and
the RV30 Windows DLL has a single call to _beginthreadex (a CRT function we
do not emulate...) that calls a dummy function, and never seems to use
threading apart from that.

I'm willing to contend that if this was a problem, it was only a problem with
RV40, and if so, I can't reproduce it anymore here.

/* Steinar */
-- 
Homepage: http://www.sesse.net/



More information about the MPlayer-dev-eng mailing list