]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/fair_mutex: include <thread> only with CEPH_DEBUG_MUTEX
authorMax Kellermann <max.kellermann@ionos.com>
Tue, 29 Oct 2024 20:20:31 +0000 (21:20 +0100)
committerMax Kellermann <max.kellermann@ionos.com>
Thu, 6 Mar 2025 07:53:09 +0000 (08:53 +0100)
commit04e285e253e70d56d11124f12c307c025e0ef2bb
tree124e7973f9565aa43d99d841b6bbf4be007c084f
parent90484deb9f0798bdc953643a564100735ce4b19f
common/fair_mutex: include <thread> only with CEPH_DEBUG_MUTEX

The header is only needed for std::this_thread::get_id() which is in
the `#ifdef CEPH_DEBUG_MUTEX` section.

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/common/fair_mutex.h