abi.html: Remove non-public qualification.
authorBenjamin Kosnik <bkoz@redhat.com>
Mon, 12 Jul 2004 23:40:49 +0000 (23:40 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Mon, 12 Jul 2004 23:40:49 +0000 (23:40 +0000)
2004-07-12  Benjamin Kosnik  <bkoz@redhat.com>

* docs/html/abi.html: Remove non-public qualification.

* include/bits/concurrence.h: Tweak comments.

From-SVN: r84586

libstdc++-v3/ChangeLog
libstdc++-v3/docs/html/abi.html
libstdc++-v3/include/bits/concurrence.h

index f7a49d7c355b0919b6538ad1a5828daa8da58565..6623438b8340987cfd07c741be5da621b5cc0402 100644 (file)
@@ -1,3 +1,9 @@
+2004-07-12  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * docs/html/abi.html: Remove non-public qualification.
+
+       * include/bits/concurrence.h: Tweak comments.
+
 2004-07-11  Paolo Carlini  <pcarlini@suse.de>
 
        Add wchar_t counterparts of the basic_streambbuf<char> tests.
index ac54238127a6bda562f94ff63a3c0166520e8aba..e48bb4b8bf7ebaab478389793be4725c1f35b559 100644 (file)
@@ -581,7 +581,7 @@ number to increase, say from "libstdc++.so.3.0.4" to
   std::basic_streambuf, et al.
 </li>
 
-<li> adding a non-private explicit copy constructor or destructor to a
+<li> adding an explicit copy constructor or destructor to a
 class that would otherwise have implicit versions. This will change
 the way the compiler deals with this class in by-value return
 statements or parameters: instead of being passing instances of this
index 7b2fae951c6fa801713333e23375f1e1e649b240..c436a1b080695303d4a2e986f36b200799c14487 100644 (file)
@@ -71,14 +71,15 @@ namespace __gnu_cxx
 {
   typedef __glibcxx_mutex_type mutex_type;
   
-  class lock
+  // Scoped lock idiom.
+  // Acquire the mutex here with a constructor call, then release with
+  // the destructor call in accordance with RAII style.
+   class lock
   {
     // Externally defined and initialized.
     mutex_type& device;
 
   public:
-    // Acquire the mutex here with a constructor call.  This ensures
-    // that it is released in exit or during stack unwinding.
     explicit lock(mutex_type& name) : device(name)
     { __glibcxx_mutex_lock(device); }