]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objector: use std::shared_mutex instead of boost::shared_mutex 21702/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Fri, 27 Apr 2018 08:40:59 +0000 (10:40 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Fri, 27 Apr 2018 16:05:13 +0000 (18:05 +0200)
commit12c1f84678083f3c1b4ada29634193f8402290fd
tree79b55dcac4db215218c23bd86d55ce7fb40c1da1
parent893857fcbd453cbca98d69780c59bec1da2aab94
osdc/Objector: use std::shared_mutex instead of boost::shared_mutex

Since boost::threads support interruption by default locking over
boost::shared_mutexes may throw if the thread is interrupted. Replacing this by
std:: variant

Fixes: http://tracker.ceph.com/issues/23910
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/osdc/Objecter.h