diff options
author | David Young <dyoung@hdfgroup.org> | 2020-02-27 17:27:45 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-11 20:34:31 (GMT) |
commit | c149f4ca16db6ae9538490041f3145d50585e65b (patch) | |
tree | 905cbdb0dea8723474246c1d3af4e16c517fd04f /.gitignore | |
parent | e5f459d86d7f566fb57c324305c7cb365ac5ad08 (diff) | |
download | hdf5-c149f4ca16db6ae9538490041f3145d50585e65b.zip hdf5-c149f4ca16db6ae9538490041f3145d50585e65b.tar.gz hdf5-c149f4ca16db6ae9538490041f3145d50585e65b.tar.bz2 |
The first implementation seemed to allow for the possibility that a thread
could block at the barrier, wake and exit the barrier, re-acquire the barrier
lock and increase `nentered` before the other blocked threads woke and checked
`nentered % count == 0`. Then the other blocked threads would check `nentered
% count == 0` and, finding it false, go back to sleep in the barrier. This new
implementation waits for a looser condition to obtain so that threads don't go
back to sleep in the barrier.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions