]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Objecter::shutdown(): call SafeTimer::Join()
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 19 Oct 2010 22:55:21 +0000 (15:55 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 19 Oct 2010 22:55:21 +0000 (15:55 -0700)
commit197928c26cec52e0f3f91e930988b1e5767e355b
tree75109ae2be0a0ce9dc988df6850fc6be5b568d61
parentdac9ecd0e05f75744fd0f10ae51ec1d92e9931c1
Objecter::shutdown(): call SafeTimer::Join()

Objecter::shutdown() needs to call Timer::join() to ensure that
concurrently exectuting events in other threads get flushed before the
Objecter and its Timer are destroyed.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
src/osdc/Objecter.cc