]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: Add locking template functions and macros
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 4 May 2016 20:39:13 +0000 (16:39 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 9 Aug 2017 02:39:20 +0000 (22:39 -0400)
commitd08191e2daad4a2ef74e06d209dac42fd8e0acef
tree77123138c92ec6ad1b1776938607c4a226c68a17
parent8a09edd19673c92b2aa4e580e15a7f8f6faea463
common: Add locking template functions and macros

These infer the type of the unique/shared/shunique lock from the type of
the mutex.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/common/convenience.h [new file with mode: 0644]