]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/ceph_mutex: improve ceph::shared_mutex
authorKefu Chai <kchai@redhat.com>
Sun, 7 Jul 2019 04:32:53 +0000 (12:32 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 3 Aug 2019 03:27:19 +0000 (11:27 +0800)
commitcc67c34a9e5b32e9372f6e109549619def3b6bc4
tree2d1efc4a40dac9740fae6afc816072c23f75940d
parent99f31705b6181514306085b43de7a30633254da3
common/ceph_mutex: improve ceph::shared_mutex

add helpers for supporting `ceph_mutex_is_locked()` and
`ceph_mutex_is_wlocked()` macros

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/ceph_mutex.h
src/common/shared_mutex_debug.h