Update of /cvsroot/boost/boost/boost/interprocess/sync/posix
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19387/sync/posix
Modified Files:
interprocess_barrier.hpp interprocess_condition.hpp
interprocess_mutex.hpp interprocess_recursive_mutex.hpp
interprocess_semaphore.hpp pthread_helpers.hpp
ptime_to_timespec.hpp semaphore_wrapper.hpp
Log Message:
Changes to correct regression tests for intel-win-9.1 & cw-9.4
Index: interprocess_barrier.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/interprocess/sync/posix/interprocess_barrier.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- interprocess_barrier.hpp 15 Oct 2006 13:05:44 -0000 1.1
+++ interprocess_barrier.hpp 12 May 2007 12:51:21 -0000 1.2
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2006. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2006. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Index: interprocess_condition.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/interprocess/sync/posix/interprocess_condition.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- interprocess_condition.hpp 4 May 2007 20:53:10 -0000 1.3
+++ interprocess_condition.hpp 12 May 2007 12:51:21 -0000 1.4
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Index: interprocess_mutex.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/interprocess/sync/posix/interprocess_mutex.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- interprocess_mutex.hpp 4 May 2007 20:53:10 -0000 1.4
+++ interprocess_mutex.hpp 12 May 2007 12:51:21 -0000 1.5
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -31,73 +31,6 @@
namespace boost {
namespace interprocess {
-/*
-inline interprocess_mutex::interprocess_mutex()
-{
- detail::mutexattr_wrapper mut_attr;
- detail::mutex_initializer mut(m_mut, mut_attr);
- mut.release();
-}
-
-inline interprocess_mutex::~interprocess_mutex()
-{
- int res = pthread_mutex_destroy(&m_mut);
- assert(res == 0);(void)res;
-}
-
-inline void interprocess_mutex::lock()
-{
- int res = pthread_mutex_lock(&m_mut);
- if ( res == EDEADLK)
- throw lock_exception();
- assert(res == 0);
-}
-
-inline void interprocess_mutex::do_unlock()
-{
- int res = pthread_mutex_unlock(&m_mut);
- if (res == EPERM)
- throw lock_exception();
- assert(res == 0);
-}
-
-inline interprocess_mutex::interprocess_mutex()
-{
- detail::mutexattr_wrapper mut_attr;
- detail::mutex_initializer mut(m_mut, mut_attr);
- mut.release();
-}
-
-inline interprocess_mutex::~interprocess_mutex()
-{
- int res = pthread_mutex_destroy(&m_mut);
- assert(res == 0);(void)res;
-}
-
-inline void interprocess_mutex::lock()
-{
- if (pthread_mutex_lock(&m_mut) == EDEADLK)
- throw lock_exception();
-}
-
-inline bool interprocess_mutex::try_lock()
-{
- int res = 0;
- res = pthread_mutex_trylock(&m_mut);
- if (res == EDEADLK) throw lock_exception();
- assert(res == 0 || res == EBUSY);
- return res == 0;
-}
-
-inline void interprocess_mutex::do_unlock()
-{
- int res = 0;
- res = pthread_mutex_unlock(&m_mut);
- if (res == EPERM) throw lock_exception();
- assert(res == 0);
-}
-*/
-//---
#ifdef _POSIX_TIMEOUTS
Index: interprocess_recursive_mutex.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/interprocess/sync/posix/interprocess_recursive_mutex.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- interprocess_recursive_mutex.hpp 4 May 2007 20:53:10 -0000 1.3
+++ interprocess_recursive_mutex.hpp 12 May 2007 12:51:21 -0000 1.4
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Index: interprocess_semaphore.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/interprocess/sync/posix/interprocess_semaphore.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- interprocess_semaphore.hpp 4 May 2007 20:53:10 -0000 1.3
+++ interprocess_semaphore.hpp 12 May 2007 12:51:21 -0000 1.4
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Index: pthread_helpers.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/interprocess/sync/posix/pthread_helpers.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- pthread_helpers.hpp 4 May 2007 20:53:10 -0000 1.3
+++ pthread_helpers.hpp 12 May 2007 12:51:21 -0000 1.4
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Index: ptime_to_timespec.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/interprocess/sync/posix/ptime_to_timespec.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ptime_to_timespec.hpp 4 May 2007 20:53:10 -0000 1.4
+++ ptime_to_timespec.hpp 12 May 2007 12:51:21 -0000 1.5
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
Index: semaphore_wrapper.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/interprocess/sync/posix/semaphore_wrapper.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- semaphore_wrapper.hpp 4 May 2007 20:53:10 -0000 1.4
+++ semaphore_wrapper.hpp 12 May 2007 12:51:21 -0000 1.5
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
-------------------------------------------------------------------------
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