# HG changeset patch # User sesse # Date 1268868806 0 # Node ID 53901d222e8a2d11dfe0712477f7ef2e0f444b97 # Parent e5a2be988dfa365f90f01acf5a7a868563e4bcd7 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). diff -r e5a2be988dfa -r 53901d222e8a loader/win32.c --- a/loader/win32.c Wed Mar 17 14:41:32 2010 +0000 +++ b/loader/win32.c Wed Mar 17 23:33:26 2010 +0000 @@ -1182,13 +1182,6 @@ } } fclose (f); - /* - * ad hoc fix for smp machines. - * some problems on WaitForSingleObject,CreateEvent,SetEvent - * CreateThread ...etc.. - * - */ - cachedsi.dwNumberOfProcessors=1; } #endif /* __linux__ */ cache = 1;