[MPlayer-cvslog] r30640 - trunk/loader/win32.c

reimar subversion at mplayerhq.hu
Thu Feb 18 21:24:52 CET 2010


Author: reimar
Date: Thu Feb 18 21:24:52 2010
New Revision: 30640

Log:
Add a InitializeCriticalSectionAndSpinCount function.

Modified:
   trunk/loader/win32.c

Modified: trunk/loader/win32.c
==============================================================================
--- trunk/loader/win32.c	Thu Feb 18 21:23:05 2010	(r30639)
+++ trunk/loader/win32.c	Thu Feb 18 21:24:52 2010	(r30640)
@@ -1348,6 +1348,11 @@ static void WINAPI expInitializeCritical
     return;
 }
 
+static void WINAPI expInitializeCriticalSectionAndSpinCount(CRITICAL_SECTION* c, DWORD spin)
+{
+    expInitializeCriticalSection(c);
+}
+
 static void WINAPI expEnterCriticalSection(CRITICAL_SECTION* c)
 {
 #ifdef CRITSECS_NEWTYPE
@@ -4984,6 +4989,7 @@ struct exports exp_kernel32[]=
     FF(VirtualAlloc, -1)
     FF(VirtualFree, -1)
     FF(InitializeCriticalSection, -1)
+    FF(InitializeCriticalSectionAndSpinCount, -1)
     FF(EnterCriticalSection, -1)
     FF(LeaveCriticalSection, -1)
     FF(DeleteCriticalSection, -1)


More information about the MPlayer-cvslog mailing list