From: <sv...@va...> - 2009-02-22 09:29:16
|
Author: bart Date: 2009-02-22 09:29:07 +0000 (Sun, 22 Feb 2009) New Revision: 9216 Log: Updated documentation. Modified: trunk/drd/docs/drd-manual.xml trunk/drd/drd_barrier.c Modified: trunk/drd/docs/drd-manual.xml =================================================================== --- trunk/drd/docs/drd-manual.xml 2009-02-22 09:26:22 UTC (rev 9215) +++ trunk/drd/docs/drd-manual.xml 2009-02-22 09:29:07 UTC (rev 9216) @@ -799,6 +799,11 @@ </listitem> <listitem> <para> + Missing synchronization between barrier wait and barrier destruction. + </para> + </listitem> + <listitem> + <para> Exiting a thread without first unlocking the spinlocks, mutexes or reader-writer locks that were locked by that thread. Modified: trunk/drd/drd_barrier.c =================================================================== --- trunk/drd/drd_barrier.c 2009-02-22 09:26:22 UTC (rev 9215) +++ trunk/drd/drd_barrier.c 2009-02-22 09:29:07 UTC (rev 9216) @@ -509,6 +509,10 @@ /** * 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, |