]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Updated documentation.
authorBart Van Assche <bvanassche@acm.org>
Sun, 22 Feb 2009 09:29:07 +0000 (09:29 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 22 Feb 2009 09:29:07 +0000 (09:29 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9216

drd/docs/drd-manual.xml
drd/drd_barrier.c

index 61df72f401ef024661949f86df8f252e9421569c..0d12004b54053a65874f69b571a91f114c1124f1 100644 (file)
@@ -797,6 +797,11 @@ output reports that the lock acquired at line 51 in source file
         being waited upon.
       </para>
     </listitem>
+    <listitem>
+      <para>
+        Missing synchronization between barrier wait and barrier destruction.
+      </para>
+    </listitem>
     <listitem>
       <para>
         Exiting a thread without first unlocking the spinlocks,
index e20447f22194af5128318787228ebe71e52baf63..d2f477f69d7148a36b89db0183b59edcf409c443 100644 (file)
@@ -509,6 +509,10 @@ static void barrier_delete_thread(struct barrier_info* const p,
 /**
  * Report that *_barrier_destroy() has been called but that this call was
  * not synchronized with the last *_barrier_wait() call on the same barrier.
+ *
+ * This topic has been discussed extensively on comp.programming.threads
+ * (February 3, 2009). See also
+ * <a href="http://groups.google.com/group/comp.programming.threads/browse_thread/thread/4f65535d6192aa50/a5f4bf1e3b437c4d">Immediately destroying pthread barriers</a>.
  */
 static
 void barrier_report_wait_delete_race(const struct barrier_info* const p,