From 56f5189a2b52e671d411a2c563bfb19953fb34e7 Mon Sep 17 00:00:00 2001 From: Valentin Balaschenko <13349202+vlntb@users.noreply.github.com> Date: Fri, 20 Jun 2025 15:22:40 +0100 Subject: [PATCH] lock cont annotations --- include/xrpl/basics/TaggedCache.ipp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/xrpl/basics/TaggedCache.ipp b/include/xrpl/basics/TaggedCache.ipp index 16a3f7587a..b4056be522 100644 --- a/include/xrpl/basics/TaggedCache.ipp +++ b/include/xrpl/basics/TaggedCache.ipp @@ -22,6 +22,7 @@ #include #include +#include namespace ripple { @@ -898,6 +899,8 @@ TaggedCache< std::lock_guard const&) { return std::thread([&, this]() { + beast::setCurrentThreadName("sweep-1"); + int cacheRemovals = 0; int mapRemovals = 0; @@ -987,6 +990,8 @@ TaggedCache< std::lock_guard const&) { return std::thread([&, this]() { + beast::setCurrentThreadName("sweep-2"); + int cacheRemovals = 0; int mapRemovals = 0;