]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os: reduce the scope of lock
authorKefu Chai <kchai@redhat.com>
Tue, 22 Jun 2021 12:03:25 +0000 (20:03 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 23 Jun 2021 09:08:58 +0000 (17:08 +0800)
commit924f90cf9a7455d13f11f2d7f43ac1a3074bb481
tree2296d4730aa9349cf08d69edf7e77a715cfe4328
parent54e5339bf9a5e73e29d9c41a18ab9e828e36591b
crimson/os: reduce the scope of lock

we just need to synchronize accesses to `stopping`, so only need to
guard the mutation of it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/os/alienstore/thread_pool.h