Add thread names

This commit is contained in:
Robbert van der Helm
2021-06-06 23:45:47 +02:00
parent fe7f6eff96
commit a7496fae77
11 changed files with 41 additions and 3 deletions
+1
View File
@@ -171,6 +171,7 @@ GroupHost::GroupHost(boost::asio::io_context& io_context,
group_host_connect_handler =
std::jthread([this, connect, group_host_pid]() {
set_realtime_priority(true);
pthread_setname_np(pthread_self(), "group-connect");
using namespace std::literals::chrono_literals;