summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorsesse <sesse@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-17 23:33:26 +0000
committersesse <sesse@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-17 23:33:26 +0000
commitd5f3f8caabed594cf593765ee5b73ebd1d8bfa9b (patch)
treeca86d43fb05b6805a554629bd9c38fa9481814e5 /loader
parent9e8f301f22dc2743c7f979282771662e67fb1d45 (diff)
downloadmpv-d5f3f8caabed594cf593765ee5b73ebd1d8bfa9b.tar.bz2
mpv-d5f3f8caabed594cf593765ee5b73ebd1d8bfa9b.tar.xz
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
Diffstat (limited to 'loader')
-rw-r--r--loader/win32.c7
1 files changed, 0 insertions, 7 deletions
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;