Updated documentation.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9216
This commit is contained in:
Bart Van Assche 2009-02-22 09:29:07 +00:00
parent 9078874b5c
commit 54c522f31e
2 changed files with 9 additions and 0 deletions

View 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,

View 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,