summaryrefslogtreecommitdiffstats
path: root/test/deflate.h5
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-02-27 17:27:45 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:31:55 (GMT)
commit4562a584afc798e834bd6d51a94e90519669b574 (patch)
tree1f9958b6a68654aa5e4a59331a5d1c383bfc8082 /test/deflate.h5
parent88920baf539cca052a478eeef4594422ce7e4db9 (diff)
downloadhdf5-4562a584afc798e834bd6d51a94e90519669b574.zip
hdf5-4562a584afc798e834bd6d51a94e90519669b574.tar.gz
hdf5-4562a584afc798e834bd6d51a94e90519669b574.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 'test/deflate.h5')
0 files changed, 0 insertions, 0 deletions