]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/Throttle: std::mutex -> ceph::mutex, drop convenience.h-isms
authorSage Weil <sage@redhat.com>
Fri, 19 Oct 2018 18:35:42 +0000 (13:35 -0500)
committerKefu Chai <kchai@redhat.com>
Wed, 21 Nov 2018 03:56:33 +0000 (11:56 +0800)
commit476b238ac22291fc988714cfd3fe18e4315f3b7d
treed068a1d46844b7be6bf8fa1a345f4518eb835fdc
parentfa3acba368eafa8aebf744adbcea41dc27594c00
common/Throttle: std::mutex -> ceph::mutex, drop convenience.h-isms

- use ceph::mutex where we can (we keep Mutex for TokenBucketThrottle
  since it takes Mutex*)
- drop the UNIQUE_LOCK_T weirdness
- uniquely_lock -> std::lock_guard or std::unique_lock

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