]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/common/Throttle.cc: fix race in shutdown 10094/head
authorSamuel Just <sjust@redhat.com>
Wed, 29 Jun 2016 15:56:29 +0000 (08:56 -0700)
committerSamuel Just <sjust@redhat.com>
Thu, 30 Jun 2016 21:10:52 +0000 (14:10 -0700)
commitd6c835a7502c7a9358228cab2c2afd14b0f70293
treeb915bb415125136051e458ad57ed5d8fbc082f73
parent266d17d05d208a7f76beba9b29c175de9353e40f
test/common/Throttle.cc: fix race in shutdown

Previously, putters could stop before getters.  Keep putters running
until getters stop and the queue is empty.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/test/common/Throttle.cc