]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/common/tri_mutex: add helpers for seastar::with_lock()
authorKefu Chai <kchai@redhat.com>
Wed, 16 Sep 2020 16:15:48 +0000 (00:15 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 19 Sep 2020 05:30:51 +0000 (13:30 +0800)
commitc90bbc0630eb50cd95009a57ef07918cb5276b94
tree69e98cd2c90851d9b4e9800af217f0769592ef40
parent5fb318fd25bb00fe78ceb3a98cafa30a1971e43e
crimson/common/tri_mutex: add helpers for seastar::with_lock()

so we don't need to worry about unlocking the object context.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/common/tri_mutex.cc
src/crimson/common/tri_mutex.h