From d5f3f8caabed594cf593765ee5b73ebd1d8bfa9b Mon Sep 17 00:00:00 2001 From: sesse Date: Wed, 17 Mar 2010 23:33:26 +0000 Subject: Announce SMP support for Win32. 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). This tells codecs they can use more than one core if they want to (some already did, by launching multiple threads even when told there was only a single core). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30926 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/win32.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'loader') diff --git a/loader/win32.c b/loader/win32.c index d0cbddca66..826fa60d4e 100644 --- a/loader/win32.c +++ b/loader/win32.c @@ -1182,13 +1182,6 @@ static void WINAPI expGetSystemInfo(SYSTEM_INFO* si) } } fclose (f); - /* - * ad hoc fix for smp machines. - * some problems on WaitForSingleObject,CreateEvent,SetEvent - * CreateThread ...etc.. - * - */ - cachedsi.dwNumberOfProcessors=1; } #endif /* __linux__ */ cache = 1; -- cgit v1.2.3