Remove '#' from threadpool thread names
This commit is contained in:
parent
f3253b1e4a
commit
512ec6df93
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ namespace psemek::async
|
|||
{
|
||||
for (std::size_t th = 0; th < thread_count; ++th)
|
||||
{
|
||||
std::string tname = thread_count == 1 ? name : util::to_string(name, '#', th);
|
||||
std::string tname = thread_count == 1 ? name : util::to_string(name, th);
|
||||
threads_.emplace_back([this, tname = std::move(tname)]() mutable
|
||||
{
|
||||
log::thread_registrator reg(std::move(tname));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue