Update of /cvsroot/boost/boost/boost/interprocess/sync
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17964/sync

Modified Files:
        interprocess_mutex.hpp interprocess_recursive_mutex.hpp 
Log Message:
Corrected gcc bug in release mode

Index: interprocess_mutex.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/sync/interprocess_mutex.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- interprocess_mutex.hpp      12 May 2007 12:51:20 -0000      1.5
+++ interprocess_mutex.hpp      23 May 2007 15:47:53 -0000      1.6
@@ -109,7 +109,7 @@
    #if   defined(BOOST_INTERPROCESS_USE_GENERIC_EMULATION)
       volatile boost::uint32_t m_s;
    #elif defined(BOOST_INTERPROCESS_USE_POSIX)
-      #ifdef _POSIX_TIMEOUTS
+      #ifdef BOOST_INTERPROCESS_POSIX_TIMEOUTS
          pthread_mutex_t   m_mut;
       #else
          pthread_mutex_t   m_mut;

Index: interprocess_recursive_mutex.hpp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/interprocess/sync/interprocess_recursive_mutex.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- interprocess_recursive_mutex.hpp    12 May 2007 12:51:20 -0000      1.5
+++ interprocess_recursive_mutex.hpp    23 May 2007 15:47:53 -0000      1.6
@@ -107,15 +107,15 @@
    unsigned int            m_nLockCount;
    detail::OS_thread_id_t  m_nOwner;
    #else    //#if defined (BOOST_INTERPROCESS_USE_GENERIC_EMULATION)
-      #if (_POSIX_VERSION >= 200112L || _XOPEN_VERSION >= 500) && defined 
_POSIX_TIMEOUTS
+      #if (_POSIX_VERSION >= 200112L || _XOPEN_VERSION >= 500) && defined 
BOOST_INTERPROCESS_POSIX_TIMEOUTS
          pthread_mutex_t m_mut;   
-      #else //#if (_POSIX_VERSION >= 200112L || _XOPEN_VERSION >= 500) && 
defined _POSIX_TIMEOUTS
+      #else //#if (_POSIX_VERSION >= 200112L || _XOPEN_VERSION >= 500) && 
defined BOOST_INTERPROCESS_POSIX_TIMEOUTS
          pthread_mutex_t   m_mut;
          pthread_cond_t    m_unlocked;
          pthread_t         m_thread_id;
          bool              m_valid_id;
          unsigned int      m_count;
-      #endif   //#if (_POSIX_VERSION >= 200112L || _XOPEN_VERSION >= 500) && 
defined _POSIX_TIMEOUTS
+      #endif   //#if (_POSIX_VERSION >= 200112L || _XOPEN_VERSION >= 500) && 
defined BOOST_INTERPROCESS_POSIX_TIMEOUTS
    #endif   //#if (defined BOOST_WINDOWS) && !(defined BOOST_DISABLE_WIN32)
    /// @endcond
 };


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to