Update of /cvsroot/boost/boost/boost/thread/win32
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30906

Modified Files:
      Tag: thread_rewrite
        thread_primitives.hpp 
Log Message:
Updated read-write mutex implementation to support upgradeable locks too


Index: thread_primitives.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/thread/win32/Attic/thread_primitives.hpp,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -d -r1.1.2.3 -r1.1.2.4
--- thread_primitives.hpp       5 Oct 2006 09:38:31 -0000       1.1.2.3
+++ thread_primitives.hpp       5 Oct 2006 14:42:08 -0000       1.1.2.4
@@ -71,6 +71,10 @@
             {
                 return ::ResetEvent(hEvent);
             }
+            inline DWORD WaitForMultipleObjects(DWORD nCount,const HANDLE* 
lpHandles,BOOL bWaitAll,DWORD dwMilliseconds)
+            {
+                return 
::WaitForMultipleObjects(nCount,lpHandles,bWaitAll,dwMilliseconds);
+            }
 
 
 //             inline unsigned long GetCurrentProcessId();
@@ -113,9 +117,10 @@
             __declspec(dllimport) unsigned long __stdcall SleepEx(unsigned 
long,int);
             typedef void (__stdcall 
*queue_user_apc_callback_function)(ulong_ptr);
             __declspec(dllimport) unsigned long __stdcall 
QueueUserAPC(queue_user_apc_callback_function,void*,ulong_ptr);
-            __declspec(dllimport) void* 
CreateEventA(_SECURITY_ATTRIBUTES*,int,int,char const*);
+            __declspec(dllimport) void* __stdcall 
CreateEventA(_SECURITY_ATTRIBUTES*,int,int,char const*);
             __declspec(dllimport) int __stdcall SetEvent(void*);
             __declspec(dllimport) int __stdcall ResetEvent(void*);
+            __declspec(dllimport) unsigned long __stdcall 
WaitForMultipleObjects(unsigned long nCount,void* const * lpHandles,int 
bWaitAll,unsigned long dwMilliseconds);
         }
     }
 }


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to