Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76987 - branches/release/boost/interprocess/sync branches/release/libs/interprocess/doc trunk/boost/interprocess/sync trunk/libs/interprocess/doc website/public_html/beta/feed/history
From: igaztanaga_at_[hidden]
Date: 2012-02-11 14:04:25


Author: igaztanaga
Date: 2012-02-11 14:04:24 EST (Sat, 11 Feb 2012)
New Revision: 76987
URL: http://svn.boost.org/trac/boost/changeset/76987

Log:
Ticket #6340: Doc should mention that the "absolute time" used by timed_lock is UTC plus remove unneeded Doxygen generated macro documentation.
Text files modified:
   branches/release/boost/interprocess/sync/interprocess_condition.hpp | 2 +-
   branches/release/boost/interprocess/sync/interprocess_mutex.hpp | 2 +-
   branches/release/boost/interprocess/sync/interprocess_recursive_mutex.hpp | 2 +-
   branches/release/boost/interprocess/sync/interprocess_semaphore.hpp | 2 +-
   branches/release/libs/interprocess/doc/interprocess.qbk | 19 +++++++++++++++++++
   trunk/boost/interprocess/sync/interprocess_condition.hpp | 2 +-
   trunk/boost/interprocess/sync/interprocess_mutex.hpp | 2 +-
   trunk/boost/interprocess/sync/interprocess_recursive_mutex.hpp | 2 +-
   trunk/boost/interprocess/sync/interprocess_semaphore.hpp | 2 +-
   trunk/libs/interprocess/doc/interprocess.qbk | 19 +++++++++++++++++++
   website/public_html/beta/feed/history/boost_1_49_0.qbk | 1 +
   11 files changed, 47 insertions(+), 8 deletions(-)

Modified: branches/release/boost/interprocess/sync/interprocess_condition.hpp
==============================================================================
--- branches/release/boost/interprocess/sync/interprocess_condition.hpp (original)
+++ branches/release/boost/interprocess/sync/interprocess_condition.hpp 2012-02-11 14:04:24 EST (Sat, 11 Feb 2012)
@@ -33,7 +33,7 @@
 //#elif !defined(BOOST_INTERPROCESS_FORCE_GENERIC_EMULATION) && defined (BOOST_INTERPROCESS_WINDOWS)
 // #include <boost/interprocess/sync/windows/condition.hpp>
 // #define BOOST_INTERPROCESS_USE_WINDOWS
-#else
+#elif !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
    #include <boost/interprocess/sync/spin/condition.hpp>
    #define BOOST_INTERPROCESS_USE_GENERIC_EMULATION
 #endif

Modified: branches/release/boost/interprocess/sync/interprocess_mutex.hpp
==============================================================================
--- branches/release/boost/interprocess/sync/interprocess_mutex.hpp (original)
+++ branches/release/boost/interprocess/sync/interprocess_mutex.hpp 2012-02-11 14:04:24 EST (Sat, 11 Feb 2012)
@@ -34,7 +34,7 @@
 //#elif !defined(BOOST_INTERPROCESS_FORCE_GENERIC_EMULATION) && defined (BOOST_INTERPROCESS_WINDOWS)
 // #include <boost/interprocess/sync/windows/mutex.hpp>
 // #define BOOST_INTERPROCESS_USE_WINDOWS
-#else
+#elif !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
    #include <boost/interprocess/sync/spin/mutex.hpp>
    #define BOOST_INTERPROCESS_USE_GENERIC_EMULATION
 

Modified: branches/release/boost/interprocess/sync/interprocess_recursive_mutex.hpp
==============================================================================
--- branches/release/boost/interprocess/sync/interprocess_recursive_mutex.hpp (original)
+++ branches/release/boost/interprocess/sync/interprocess_recursive_mutex.hpp 2012-02-11 14:04:24 EST (Sat, 11 Feb 2012)
@@ -46,7 +46,7 @@
 //#elif !defined(BOOST_INTERPROCESS_FORCE_GENERIC_EMULATION) && defined (BOOST_INTERPROCESS_WINDOWS)
 // #include <boost/interprocess/sync/windows/recursive_mutex.hpp>
 // #define BOOST_INTERPROCESS_USE_WINDOWS
-#else
+#elif !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
    #include <boost/interprocess/sync/spin/recursive_mutex.hpp>
    #define BOOST_INTERPROCESS_USE_GENERIC_EMULATION
 #endif

Modified: branches/release/boost/interprocess/sync/interprocess_semaphore.hpp
==============================================================================
--- branches/release/boost/interprocess/sync/interprocess_semaphore.hpp (original)
+++ branches/release/boost/interprocess/sync/interprocess_semaphore.hpp 2012-02-11 14:04:24 EST (Sat, 11 Feb 2012)
@@ -32,7 +32,7 @@
 //#elif !defined(BOOST_INTERPROCESS_FORCE_GENERIC_EMULATION) && defined (BOOST_INTERPROCESS_WINDOWS)
 // #include <boost/interprocess/sync/windows/semaphore.hpp>
 // #define BOOST_INTERPROCESS_USE_WINDOWS
-#else
+#elif !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
    #include <boost/interprocess/sync/spin/semaphore.hpp>
    #define BOOST_INTERPROCESS_USE_GENERIC_EMULATION
 #endif

Modified: branches/release/libs/interprocess/doc/interprocess.qbk
==============================================================================
--- branches/release/libs/interprocess/doc/interprocess.qbk (original)
+++ branches/release/libs/interprocess/doc/interprocess.qbk 2012-02-11 14:04:24 EST (Sat, 11 Feb 2012)
@@ -1403,6 +1403,9 @@
 
 [*Throws:] An exception derived from *interprocess_exception* on error.
 
+[important `boost::posix_time::ptime` absolute time points used by Boost.Interprocess synchronization mechanisms
+are UTC time points, not local time points]
+
 [endsect]
 
 [section:mutexes_interprocess_mutexes Boost.Interprocess Mutex Types And Headers]
@@ -1500,6 +1503,9 @@
 For more information, check the
 [classref boost::interprocess::scoped_lock scoped_lock's reference].
 
+[important `boost::posix_time::ptime` absolute time points used by Boost.Interprocess synchronization mechanisms
+are UTC time points, not local time points]
+
 [endsect]
 
 [section:mutexes_anonymous_example Anonymous mutex example]
@@ -2023,6 +2029,9 @@
 
 [*Throws:] An exception derived from *interprocess_exception* on error.
 
+[important `boost::posix_time::ptime` absolute time points used by Boost.Interprocess synchronization mechanisms
+are UTC time points, not local time points]
+
 [endsect]
 
 [endsect]
@@ -2185,6 +2194,9 @@
 [classref boost::interprocess::sharable_lock sharable_lock] offer
 more features and operations, see their reference for more informations
 
+[important `boost::posix_time::ptime` absolute time points used by Boost.Interprocess synchronization mechanisms
+are UTC time points, not local time points]
+
 [endsect]
 
 [/section:upgradable_mutexes_example Anonymous Upgradable Mutex Example]
@@ -2339,6 +2351,9 @@
       scoped_lock<Mutex> e_lock(move(s_lock, try_to_lock));
    }
 
+[important `boost::posix_time::ptime` absolute time points used by Boost.Interprocess synchronization mechanisms
+are UTC time points, not local time points]
+
 [endsect]
 
 [section:lock_transfer_summary_upgradable Transfers To Upgradable Lock]
@@ -2662,6 +2677,9 @@
 For more file locking methods, please
 [classref boost::interprocess::file_lock file_lock reference].
 
+[important `boost::posix_time::ptime` absolute time points used by Boost.Interprocess synchronization mechanisms
+are UTC time points, not local time points]
+
 [endsect]
 
 [section:file_lock_scoped_locks Scoped Lock and Sharable Lock With File Locking]
@@ -6603,6 +6621,7 @@
   [@https://svn.boost.org/trac/boost/ticket/6531 #6531],
   [@https://svn.boost.org/trac/boost/ticket/6412 #6412],
   [@https://svn.boost.org/trac/boost/ticket/6398 #6398],
+ [@https://svn.boost.org/trac/boost/ticket/6340 #6340],
   [@https://svn.boost.org/trac/boost/ticket/6319 #6319],
   [@https://svn.boost.org/trac/boost/ticket/6287 #6287],
   [@https://svn.boost.org/trac/boost/ticket/6265 #6265],

Modified: trunk/boost/interprocess/sync/interprocess_condition.hpp
==============================================================================
--- trunk/boost/interprocess/sync/interprocess_condition.hpp (original)
+++ trunk/boost/interprocess/sync/interprocess_condition.hpp 2012-02-11 14:04:24 EST (Sat, 11 Feb 2012)
@@ -33,7 +33,7 @@
 //#elif !defined(BOOST_INTERPROCESS_FORCE_GENERIC_EMULATION) && defined (BOOST_INTERPROCESS_WINDOWS)
 // #include <boost/interprocess/sync/windows/condition.hpp>
 // #define BOOST_INTERPROCESS_USE_WINDOWS
-#else
+#elif !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
    #include <boost/interprocess/sync/spin/condition.hpp>
    #define BOOST_INTERPROCESS_USE_GENERIC_EMULATION
 #endif

Modified: trunk/boost/interprocess/sync/interprocess_mutex.hpp
==============================================================================
--- trunk/boost/interprocess/sync/interprocess_mutex.hpp (original)
+++ trunk/boost/interprocess/sync/interprocess_mutex.hpp 2012-02-11 14:04:24 EST (Sat, 11 Feb 2012)
@@ -34,7 +34,7 @@
 //#elif !defined(BOOST_INTERPROCESS_FORCE_GENERIC_EMULATION) && defined (BOOST_INTERPROCESS_WINDOWS)
 // #include <boost/interprocess/sync/windows/mutex.hpp>
 // #define BOOST_INTERPROCESS_USE_WINDOWS
-#else
+#elif !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
    #include <boost/interprocess/sync/spin/mutex.hpp>
    #define BOOST_INTERPROCESS_USE_GENERIC_EMULATION
 

Modified: trunk/boost/interprocess/sync/interprocess_recursive_mutex.hpp
==============================================================================
--- trunk/boost/interprocess/sync/interprocess_recursive_mutex.hpp (original)
+++ trunk/boost/interprocess/sync/interprocess_recursive_mutex.hpp 2012-02-11 14:04:24 EST (Sat, 11 Feb 2012)
@@ -46,7 +46,7 @@
 //#elif !defined(BOOST_INTERPROCESS_FORCE_GENERIC_EMULATION) && defined (BOOST_INTERPROCESS_WINDOWS)
 // #include <boost/interprocess/sync/windows/recursive_mutex.hpp>
 // #define BOOST_INTERPROCESS_USE_WINDOWS
-#else
+#elif !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
    #include <boost/interprocess/sync/spin/recursive_mutex.hpp>
    #define BOOST_INTERPROCESS_USE_GENERIC_EMULATION
 #endif

Modified: trunk/boost/interprocess/sync/interprocess_semaphore.hpp
==============================================================================
--- trunk/boost/interprocess/sync/interprocess_semaphore.hpp (original)
+++ trunk/boost/interprocess/sync/interprocess_semaphore.hpp 2012-02-11 14:04:24 EST (Sat, 11 Feb 2012)
@@ -32,7 +32,7 @@
 //#elif !defined(BOOST_INTERPROCESS_FORCE_GENERIC_EMULATION) && defined (BOOST_INTERPROCESS_WINDOWS)
 // #include <boost/interprocess/sync/windows/semaphore.hpp>
 // #define BOOST_INTERPROCESS_USE_WINDOWS
-#else
+#elif !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
    #include <boost/interprocess/sync/spin/semaphore.hpp>
    #define BOOST_INTERPROCESS_USE_GENERIC_EMULATION
 #endif

Modified: trunk/libs/interprocess/doc/interprocess.qbk
==============================================================================
--- trunk/libs/interprocess/doc/interprocess.qbk (original)
+++ trunk/libs/interprocess/doc/interprocess.qbk 2012-02-11 14:04:24 EST (Sat, 11 Feb 2012)
@@ -1403,6 +1403,9 @@
 
 [*Throws:] An exception derived from *interprocess_exception* on error.
 
+[important `boost::posix_time::ptime` absolute time points used by Boost.Interprocess synchronization mechanisms
+are UTC time points, not local time points]
+
 [endsect]
 
 [section:mutexes_interprocess_mutexes Boost.Interprocess Mutex Types And Headers]
@@ -1500,6 +1503,9 @@
 For more information, check the
 [classref boost::interprocess::scoped_lock scoped_lock's reference].
 
+[important `boost::posix_time::ptime` absolute time points used by Boost.Interprocess synchronization mechanisms
+are UTC time points, not local time points]
+
 [endsect]
 
 [section:mutexes_anonymous_example Anonymous mutex example]
@@ -2023,6 +2029,9 @@
 
 [*Throws:] An exception derived from *interprocess_exception* on error.
 
+[important `boost::posix_time::ptime` absolute time points used by Boost.Interprocess synchronization mechanisms
+are UTC time points, not local time points]
+
 [endsect]
 
 [endsect]
@@ -2185,6 +2194,9 @@
 [classref boost::interprocess::sharable_lock sharable_lock] offer
 more features and operations, see their reference for more informations
 
+[important `boost::posix_time::ptime` absolute time points used by Boost.Interprocess synchronization mechanisms
+are UTC time points, not local time points]
+
 [endsect]
 
 [/section:upgradable_mutexes_example Anonymous Upgradable Mutex Example]
@@ -2339,6 +2351,9 @@
       scoped_lock<Mutex> e_lock(move(s_lock, try_to_lock));
    }
 
+[important `boost::posix_time::ptime` absolute time points used by Boost.Interprocess synchronization mechanisms
+are UTC time points, not local time points]
+
 [endsect]
 
 [section:lock_transfer_summary_upgradable Transfers To Upgradable Lock]
@@ -2662,6 +2677,9 @@
 For more file locking methods, please
 [classref boost::interprocess::file_lock file_lock reference].
 
+[important `boost::posix_time::ptime` absolute time points used by Boost.Interprocess synchronization mechanisms
+are UTC time points, not local time points]
+
 [endsect]
 
 [section:file_lock_scoped_locks Scoped Lock and Sharable Lock With File Locking]
@@ -6603,6 +6621,7 @@
   [@https://svn.boost.org/trac/boost/ticket/6531 #6531],
   [@https://svn.boost.org/trac/boost/ticket/6412 #6412],
   [@https://svn.boost.org/trac/boost/ticket/6398 #6398],
+ [@https://svn.boost.org/trac/boost/ticket/6340 #6340],
   [@https://svn.boost.org/trac/boost/ticket/6319 #6319],
   [@https://svn.boost.org/trac/boost/ticket/6287 #6287],
   [@https://svn.boost.org/trac/boost/ticket/6265 #6265],

Modified: website/public_html/beta/feed/history/boost_1_49_0.qbk
==============================================================================
--- website/public_html/beta/feed/history/boost_1_49_0.qbk (original)
+++ website/public_html/beta/feed/history/boost_1_49_0.qbk 2012-02-11 14:04:24 EST (Sat, 11 Feb 2012)
@@ -101,6 +101,7 @@
   [@https://svn.boost.org/trac/boost/ticket/6531 #6531],
   [@https://svn.boost.org/trac/boost/ticket/6412 #6412],
   [@https://svn.boost.org/trac/boost/ticket/6398 #6398],
+ [@https://svn.boost.org/trac/boost/ticket/6340 #6340],
   [@https://svn.boost.org/trac/boost/ticket/6319 #6319],
   [@https://svn.boost.org/trac/boost/ticket/6287 #6287],
   [@https://svn.boost.org/trac/boost/ticket/6265 #6265],


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk