]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/WorkQueue: narrow ThreadPool::_lock in func worker. 22411/head
authorJianpeng Ma <jianpeng.ma@intel.com>
Mon, 11 Feb 2019 03:05:46 +0000 (11:05 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Sat, 13 Apr 2019 04:47:40 +0000 (12:47 +0800)
commite15261c9216c8e55ef12a2e8904094b46d857da3
tree444fe62212b7bd7c5c2990f19d4d016ca1b660d2
parent364d7b8c0eb9876e16f601fd8487cd85cbae8960
common/WorkQueue: narrow ThreadPool::_lock in func worker.

In fact, heartbeat_handle_d is a local paramter and don't protect by
ThreadPool::_lock.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
src/common/WorkQueue.cc