diff options
author | David Young <dyoung@hdfgroup.org> | 2020-02-27 17:27:45 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-02-27 17:27:45 (GMT) |
commit | 4be589813a8fc5e2c5313464b088d7d3c31a754d (patch) | |
tree | 3da06e8bc7b1bc322d90801363ed41cff561099a /config/linux-gnulibc1 | |
parent | 11d22f3ea50d45796e110fe805a694692de91456 (diff) | |
download | hdf5-4be589813a8fc5e2c5313464b088d7d3c31a754d.zip hdf5-4be589813a8fc5e2c5313464b088d7d3c31a754d.tar.gz hdf5-4be589813a8fc5e2c5313464b088d7d3c31a754d.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 'config/linux-gnulibc1')
0 files changed, 0 insertions, 0 deletions