Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright dates with scripts/update-copyrights. | Joseph Myers | 2017-01-01 | 1 | -1/+1 |
| | |||||
* | nptl: Add first-line description for barrier tests. | Torvald Riegel | 2016-01-15 | 1 | -2/+2 |
| | |||||
* | New pthread_barrier algorithm to fulfill barrier destruction requirements. | Torvald Riegel | 2016-01-15 | 1 | -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. |