Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76980 - in trunk: boost/interprocess/sync boost/interprocess/sync/shm libs/interprocess/doc
From: igaztanaga_at_[hidden]
Date: 2012-02-11 13:20:31


Author: igaztanaga
Date: 2012-02-11 13:20:30 EST (Sat, 11 Feb 2012)
New Revision: 76980
URL: http://svn.boost.org/trac/boost/changeset/76980

Log:
Documentation fixes (bug #6531)
Text files modified:
   trunk/boost/interprocess/sync/file_lock.hpp | 6 +++---
   trunk/boost/interprocess/sync/interprocess_upgradable_mutex.hpp | 12 ++++++------
   trunk/boost/interprocess/sync/named_upgradable_mutex.hpp | 12 ++++++------
   trunk/boost/interprocess/sync/shm/named_upgradable_mutex.hpp | 12 ++++++------
   trunk/libs/interprocess/doc/interprocess.qbk | 23 ++++++++++++-----------
   5 files changed, 33 insertions(+), 32 deletions(-)

Modified: trunk/boost/interprocess/sync/file_lock.hpp
==============================================================================
--- trunk/boost/interprocess/sync/file_lock.hpp (original)
+++ trunk/boost/interprocess/sync/file_lock.hpp 2012-02-11 13:20:30 EST (Sat, 11 Feb 2012)
@@ -99,7 +99,7 @@
    bool try_lock();
 
    //!Effects: The calling thread tries to acquire exclusive ownership of the mutex
- //! waiting if necessary until no other thread has has exclusive, or sharable
+ //! waiting if necessary until no other thread has exclusive, or sharable
    //! ownership of the mutex or abs_time is reached.
    //!Returns: If acquires exclusive ownership, returns true. Otherwise returns false.
    //!Throws: interprocess_exception on error.
@@ -119,7 +119,7 @@
    void lock_sharable();
 
    //!Effects: The calling thread tries to acquire sharable ownership of the mutex
- //! without waiting. If no other thread has has exclusive ownership of the
+ //! without waiting. If no other thread has exclusive ownership of the
    //! mutex this succeeds.
    //!Returns: If it can acquire sharable ownership immediately returns true. If it
    //! has to wait, returns false.
@@ -127,7 +127,7 @@
    bool try_lock_sharable();
 
    //!Effects: The calling thread tries to acquire sharable ownership of the mutex
- //! waiting if necessary until no other thread has has exclusive ownership of
+ //! waiting if necessary until no other thread has exclusive ownership of
    //! the mutex or abs_time is reached.
    //!Returns: If acquires sharable ownership, returns true. Otherwise returns false.
    //!Throws: interprocess_exception on error.

Modified: trunk/boost/interprocess/sync/interprocess_upgradable_mutex.hpp
==============================================================================
--- trunk/boost/interprocess/sync/interprocess_upgradable_mutex.hpp (original)
+++ trunk/boost/interprocess/sync/interprocess_upgradable_mutex.hpp 2012-02-11 13:20:30 EST (Sat, 11 Feb 2012)
@@ -66,7 +66,7 @@
    bool try_lock();
 
    //!Effects: The calling thread tries to acquire exclusive ownership of the mutex
- //! waiting if necessary until no other thread has has exclusive, sharable or
+ //! waiting if necessary until no other thread has exclusive, sharable or
    //! upgradable ownership of the mutex or abs_time is reached.
    //!Returns: If acquires exclusive ownership, returns true. Otherwise returns false.
    //!Throws: interprocess_exception on error.
@@ -80,13 +80,13 @@
    //Sharable locking
 
    //!Effects: The calling thread tries to obtain sharable ownership of the mutex,
- //! and if another thread has exclusive or upgradable ownership of the mutex,
+ //! and if another thread has exclusive ownership of the mutex,
    //! waits until it can obtain the ownership.
    //!Throws: interprocess_exception on error.
    void lock_sharable();
 
    //!Effects: The calling thread tries to acquire sharable ownership of the mutex
- //! without waiting. If no other thread has has exclusive or upgradable ownership
+ //! without waiting. If no other thread has exclusive ownership
    //! of the mutex this succeeds.
    //!Returns: If it can acquire sharable ownership immediately returns true. If it
    //! has to wait, returns false.
@@ -94,7 +94,7 @@
    bool try_lock_sharable();
 
    //!Effects: The calling thread tries to acquire sharable ownership of the mutex
- //! waiting if necessary until no other thread has has exclusive or upgradable
+ //! waiting if necessary until no other thread has exclusive
    //! ownership of the mutex or abs_time is reached.
    //!Returns: If acquires sharable ownership, returns true. Otherwise returns false.
    //!Throws: interprocess_exception on error.
@@ -114,7 +114,7 @@
    void lock_upgradable();
 
    //!Effects: The calling thread tries to acquire upgradable ownership of the mutex
- //! without waiting. If no other thread has has exclusive or upgradable ownership
+ //! without waiting. If no other thread has exclusive or upgradable ownership
    //! of the mutex this succeeds.
    //!Returns: If it can acquire upgradable ownership immediately returns true.
    //! If it has to wait, returns false.
@@ -122,7 +122,7 @@
    bool try_lock_upgradable();
 
    //!Effects: The calling thread tries to acquire upgradable ownership of the mutex
- //! waiting if necessary until no other thread has has exclusive or upgradable
+ //! waiting if necessary until no other thread has exclusive or upgradable
    //! ownership of the mutex or abs_time is reached.
    //!Returns: If acquires upgradable ownership, returns true. Otherwise returns false.
    //!Throws: interprocess_exception on error.

Modified: trunk/boost/interprocess/sync/named_upgradable_mutex.hpp
==============================================================================
--- trunk/boost/interprocess/sync/named_upgradable_mutex.hpp (original)
+++ trunk/boost/interprocess/sync/named_upgradable_mutex.hpp 2012-02-11 13:20:30 EST (Sat, 11 Feb 2012)
@@ -94,7 +94,7 @@
    bool try_lock();
 
    //!Effects: The calling thread tries to acquire exclusive ownership of the mutex
- //! waiting if necessary until no other thread has has exclusive, sharable or
+ //! waiting if necessary until no other thread has exclusive, sharable or
    //! upgradable ownership of the mutex or abs_time is reached.
    //!Returns: If acquires exclusive ownership, returns true. Otherwise returns false.
    //!Throws: interprocess_exception on error.
@@ -108,13 +108,13 @@
    //Sharable locking
 
    //!Effects: The calling thread tries to obtain sharable ownership of the mutex,
- //! and if another thread has exclusive or upgradable ownership of the mutex,
+ //! and if another thread has exclusive ownership of the mutex,
    //! waits until it can obtain the ownership.
    //!Throws: interprocess_exception on error.
    void lock_sharable();
 
    //!Effects: The calling thread tries to acquire sharable ownership of the mutex
- //! without waiting. If no other thread has has exclusive or upgradable ownership
+ //! without waiting. If no other thread has exclusive ownership
    //! of the mutex this succeeds.
    //!Returns: If it can acquire sharable ownership immediately returns true. If it
    //! has to wait, returns false.
@@ -122,7 +122,7 @@
    bool try_lock_sharable();
 
    //!Effects: The calling thread tries to acquire sharable ownership of the mutex
- //! waiting if necessary until no other thread has has exclusive or upgradable
+ //! waiting if necessary until no other thread has exclusive
    //! ownership of the mutex or abs_time is reached.
    //!Returns: If acquires sharable ownership, returns true. Otherwise returns false.
    //!Throws: interprocess_exception on error.
@@ -142,7 +142,7 @@
    void lock_upgradable();
 
    //!Effects: The calling thread tries to acquire upgradable ownership of the mutex
- //! without waiting. If no other thread has has exclusive or upgradable ownership
+ //! without waiting. If no other thread has exclusive or upgradable ownership
    //! of the mutex this succeeds.
    //!Returns: If it can acquire upgradable ownership immediately returns true.
    //! If it has to wait, returns false.
@@ -150,7 +150,7 @@
    bool try_lock_upgradable();
 
    //!Effects: The calling thread tries to acquire upgradable ownership of the mutex
- //! waiting if necessary until no other thread has has exclusive or upgradable
+ //! waiting if necessary until no other thread has exclusive or upgradable
    //! ownership of the mutex or abs_time is reached.
    //!Returns: If acquires upgradable ownership, returns true. Otherwise returns false.
    //!Throws: interprocess_exception on error.

Modified: trunk/boost/interprocess/sync/shm/named_upgradable_mutex.hpp
==============================================================================
--- trunk/boost/interprocess/sync/shm/named_upgradable_mutex.hpp (original)
+++ trunk/boost/interprocess/sync/shm/named_upgradable_mutex.hpp 2012-02-11 13:20:30 EST (Sat, 11 Feb 2012)
@@ -94,7 +94,7 @@
    bool try_lock();
 
    //!Effects: The calling thread tries to acquire exclusive ownership of the mutex
- //! waiting if necessary until no other thread has has exclusive, sharable or
+ //! waiting if necessary until no other thread has exclusive, sharable or
    //! upgradable ownership of the mutex or abs_time is reached.
    //!Returns: If acquires exclusive ownership, returns true. Otherwise returns false.
    //!Throws: interprocess_exception on error.
@@ -108,13 +108,13 @@
    //Sharable locking
 
    //!Effects: The calling thread tries to obtain sharable ownership of the mutex,
- //! and if another thread has exclusive or upgradable ownership of the mutex,
+ //! and if another thread has exclusive ownership of the mutex,
    //! waits until it can obtain the ownership.
    //!Throws: interprocess_exception on error.
    void lock_sharable();
 
    //!Effects: The calling thread tries to acquire sharable ownership of the mutex
- //! without waiting. If no other thread has has exclusive or upgradable ownership
+ //! without waiting. If no other thread has exclusive ownership
    //! of the mutex this succeeds.
    //!Returns: If it can acquire sharable ownership immediately returns true. If it
    //! has to wait, returns false.
@@ -122,7 +122,7 @@
    bool try_lock_sharable();
 
    //!Effects: The calling thread tries to acquire sharable ownership of the mutex
- //! waiting if necessary until no other thread has has exclusive or upgradable
+ //! waiting if necessary until no other thread has exclusive
    //! ownership of the mutex or abs_time is reached.
    //!Returns: If acquires sharable ownership, returns true. Otherwise returns false.
    //!Throws: interprocess_exception on error.
@@ -142,7 +142,7 @@
    void lock_upgradable();
 
    //!Effects: The calling thread tries to acquire upgradable ownership of the mutex
- //! without waiting. If no other thread has has exclusive or upgradable ownership
+ //! without waiting. If no other thread has exclusive or upgradable ownership
    //! of the mutex this succeeds.
    //!Returns: If it can acquire upgradable ownership immediately returns true.
    //! If it has to wait, returns false.
@@ -150,7 +150,7 @@
    bool try_lock_upgradable();
 
    //!Effects: The calling thread tries to acquire upgradable ownership of the mutex
- //! waiting if necessary until no other thread has has exclusive or upgradable
+ //! waiting if necessary until no other thread has exclusive or upgradable
    //! ownership of the mutex or abs_time is reached.
    //!Returns: If acquires upgradable ownership, returns true. Otherwise returns false.
    //!Throws: interprocess_exception on error.

Modified: trunk/libs/interprocess/doc/interprocess.qbk
==============================================================================
--- trunk/libs/interprocess/doc/interprocess.qbk (original)
+++ trunk/libs/interprocess/doc/interprocess.qbk 2012-02-11 13:20:30 EST (Sat, 11 Feb 2012)
@@ -1829,7 +1829,7 @@
 
 [*Effects:]
 The calling thread tries to acquire exclusive ownership of the mutex
-waiting if necessary until no other thread has has exclusive,
+waiting if necessary until no other thread has exclusive,
 sharable or upgradable ownership of the mutex or abs_time is reached.
 
 [*Returns:] If acquires exclusive ownership, returns true. Otherwise
@@ -1853,7 +1853,7 @@
 
 [*Effects:]
 The calling thread tries to obtain sharable ownership of the mutex, and if
-another thread has exclusive or upgradable ownership of the mutex,
+another thread has exclusive ownership of the mutex,
 waits until it can obtain the ownership.
 
 [*Throws:] *interprocess_exception* on error.
@@ -1862,7 +1862,7 @@
 
 [*Effects:]
 The calling thread tries to acquire sharable ownership of the mutex without
-waiting. If no other thread has has exclusive or upgradable ownership of
+waiting. If no other thread has exclusive ownership of
 the mutex this succeeds.
 
 [*Returns:] If it can acquire sharable ownership immediately returns true.
@@ -1874,8 +1874,8 @@
 
 [*Effects:]
 The calling thread tries to acquire sharable ownership of the mutex
-waiting if necessary until no other thread has has exclusive
-or upgradable ownership of the mutex or abs_time is reached.
+waiting if necessary until no other thread has exclusive
+ownership of the mutex or abs_time is reached.
 
 [*Returns:] If acquires sharable ownership, returns true. Otherwise
 returns false.
@@ -1907,7 +1907,7 @@
 
 [*Effects:]
 The calling thread tries to acquire upgradable ownership of the mutex without
-waiting. If no other thread has has exclusive or upgradable ownership of
+waiting. If no other thread has exclusive or upgradable ownership of
 the mutex this succeeds.
 
 [*Returns:] If it can acquire upgradable ownership immediately returns true.
@@ -1919,8 +1919,8 @@
 
 [*Effects:]
 The calling thread tries to acquire upgradable ownership of the mutex
-waiting if necessary until no other thread has has exclusive
-or upgradable ownership of the mutex or abs_time is reached.
+waiting if necessary until no other thread has exclusive
+ownership of the mutex or abs_time is reached.
 
 [*Returns:] If acquires upgradable ownership, returns true. Otherwise
 returns false.
@@ -2602,7 +2602,7 @@
 
 [*Effects:]
 The calling thread tries to acquire exclusive ownership of the file lock
-waiting if necessary until no other thread has has exclusive or
+waiting if necessary until no other thread has exclusive or
 sharable ownership of the file lock or abs_time is reached.
 
 [*Returns:] If acquires exclusive ownership, returns true. Otherwise
@@ -2631,7 +2631,7 @@
 
 [*Effects:]
 The calling thread tries to acquire sharable ownership of the file
-lock without waiting. If no other thread has has exclusive ownership of
+lock without waiting. If no other thread has exclusive ownership of
 the file lock, this succeeds.
 
 [*Returns:] If it can acquire sharable ownership immediately returns true.
@@ -2643,7 +2643,7 @@
 
 [*Effects:]
 The calling thread tries to acquire sharable ownership of the file lock
-waiting if necessary until no other thread has has exclusive
+waiting if necessary until no other thread has exclusive
 ownership of the file lock or abs_time is reached.
 
 [*Returns:] If acquires sharable ownership, returns true. Otherwise
@@ -6600,6 +6600,7 @@
 [section:release_notes_boost_1_49_00 Boost 1.49 Release]
 
 * Fixed bugs
+ [@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/6319 #6319],


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