version_t last_seen_osdmap_version;
version_t last_seen_pgmap_version;
- mutable boost::shared_mutex rwlock;
+ mutable std::shared_mutex rwlock;
using lock_guard = std::lock_guard<decltype(rwlock)>;
using unique_lock = std::unique_lock<decltype(rwlock)>;
using shared_lock = boost::shared_lock<decltype(rwlock)>;
bool is_watch;
ceph::coarse_mono_time watch_valid_thru; ///< send time for last acked ping
int last_error; ///< error from last failed ping|reconnect, if any
- boost::shared_mutex watch_lock;
+ std::shared_mutex watch_lock;
using lock_guard = std::unique_lock<decltype(watch_lock)>;
using unique_lock = std::unique_lock<decltype(watch_lock)>;
using shared_lock = boost::shared_lock<decltype(watch_lock)>;
};
struct OSDSession : public RefCountedObject {
- boost::shared_mutex lock;
+ std::shared_mutex lock;
using lock_guard = std::lock_guard<decltype(lock)>;
using unique_lock = std::unique_lock<decltype(lock)>;
using shared_lock = boost::shared_lock<decltype(lock)>;