]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common: add {condition_variable,shared_mutex}_debug
authorKefu Chai <kchai@redhat.com>
Thu, 16 Aug 2018 07:42:14 +0000 (15:42 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 16 Aug 2018 09:33:48 +0000 (17:33 +0800)
commit8bf5d0975efc0a96c18c904424c49adb80bf73b4
tree82a5bca9b83617bb0b29cfcbecc5b690fdb5df2c
parente5e883bae5bda11512baa1b446dbafad242b38f4
common: add {condition_variable,shared_mutex}_debug

as drop-in replacements of their standard library counterparts, but with
some debugging facilities offered by Cond and RWLock.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/CMakeLists.txt
src/common/condition_variable_debug.cc [new file with mode: 0644]
src/common/condition_variable_debug.h [new file with mode: 0644]
src/common/mutex_debug.h
src/common/shared_mutex_debug.cc [new file with mode: 0644]
src/common/shared_mutex_debug.h [new file with mode: 0644]