]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/condition_variable_debug: fix wait hooks
authorSage Weil <sage@redhat.com>
Mon, 15 Oct 2018 15:26:31 +0000 (10:26 -0500)
committerSage Weil <sage@redhat.com>
Mon, 15 Oct 2018 15:26:31 +0000 (10:26 -0500)
commitc895e3bf2e808eb873dcac3474b30003de66ac50
treeceb3d0c866664f051031809d6642e774ce3bca88
parent6d9526de934e5813f15b13842fa9c58589470165
common/condition_variable_debug: fix wait hooks

The post_lock hook needs to be called even with the cond times out, because
the lock is still locked at that point.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/condition_variable_debug.cc