Author: tabish
Date: Fri Aug 26 15:59:11 2011
New Revision: 1162148

URL: http://svn.apache.org/viewvc?rev=1162148&view=rev
Log:
Fix some build issues on Windows

Modified:
    
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/concurrent/windows/PlatformThread.cpp

Modified: 
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/concurrent/windows/PlatformThread.cpp
URL: 
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/concurrent/windows/PlatformThread.cpp?rev=1162148&r1=1162147&r2=1162148&view=diff
==============================================================================
--- 
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/concurrent/windows/PlatformThread.cpp
 (original)
+++ 
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/concurrent/windows/PlatformThread.cpp
 Fri Aug 26 15:59:11 2011
@@ -157,6 +157,8 @@ bool PlatformThread::tryReaderLockMutex(
         throw RuntimeException(
             __FILE__, __LINE__, "Failed to release RW Mutex object.");
     }
+
+    return true;
 }
 
 
////////////////////////////////////////////////////////////////////////////////
@@ -191,7 +193,7 @@ void PlatformThread::unlockRWMutex(decaf
 
     DWORD result = 0;
 
-    if (! ::ReleaseMutex(rwlock->write_mutex)) {
+    if (! ::ReleaseMutex(rwlock->writeMutex)) {
         result = ::GetLastError();
     }
 


Reply via email to