about summary refs log tree commit diff
path: root/nptl/tst-barrier5.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright dates with scripts/update-copyrights.Joseph Myers2017-01-011-1/+1
|
* nptl: Add first-line description for barrier tests.Torvald Riegel2016-01-151-2/+2
|
* New pthread_barrier algorithm to fulfill barrier destruction requirements.Torvald Riegel2016-01-151-0/+145
The previous barrier implementation did not fulfill the POSIX requirements for when a barrier can be destroyed. Specifically, it was possible that threads that haven't noticed yet that their round is complete still access the barrier's memory, and that those accesses can happen after the barrier has been legally destroyed. The new algorithm does not have this issue, and it avoids using a lock internally.