mutex: Add doxygen comments.
authorJonathan Wakely <jwakely.gcc@gmail.com>
Wed, 25 May 2011 23:49:11 +0000 (23:49 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 25 May 2011 23:49:11 +0000 (00:49 +0100)
2011-05-26  Jonathan Wakely  <jwakely.gcc@gmail.com>

* include/std/mutex: Add doxygen comments.

From-SVN: r174244

libstdc++-v3/ChangeLog
libstdc++-v3/include/std/mutex

index 8d65a08466756993f3e07658ad288a5d41176cc5..3926a0442e47adb4ee03edba330deb604f1626cb 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/std/mutex: Add doxygen comments.
+
 2011-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * config/abi/pre/gnu.ver: Export recently added  basic_streambuf
index de16cd3d086baf5804061447ed51b8351a33f51f..2ba957695045487cc22e8974a3afa17457582985 100644 (file)
@@ -632,6 +632,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       bool             _M_owns; // XXX use atomic_bool
     };
 
+  /// Partial specialization for unique_lock objects.
   template<typename _Mutex>
     inline void
     swap(unique_lock<_Mutex>& __x, unique_lock<_Mutex>& __y) noexcept
@@ -759,9 +760,12 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     __native_type  _M_once;
 
   public:
+    /// Constructor
     constexpr once_flag() noexcept : _M_once(__GTHREAD_ONCE_INIT) { }
 
+    /// Deleted copy constructor
     once_flag(const once_flag&) = delete;
+    /// Deleted assignment operator
     once_flag& operator=(const once_flag&) = delete;
 
     template<typename _Callable, typename... _Args>