]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: skip boost shared_mutex with mingw-llvm
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Tue, 30 May 2023 13:46:54 +0000 (13:46 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 30 Aug 2023 12:59:00 +0000 (12:59 +0000)
commit4b43afd509a4faf1354f96d5bf560bca5b08d5b9
tree7b9facfc3d2a15315c7e7d51d391d9a79d219cf4
parentc8d09aeb88e6ce8573b8fb2c11a2209131910c16
common: skip boost shared_mutex with mingw-llvm

Because of winpthreads issues, we had to use Boost's shared_mutex
implementation.

When using mingw-llvm, we can safely use libc++'s shared mutex
implementation.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
CMakeLists.txt
src/common/ceph_mutex.h