Problem: IO thread name uses space separator, the rest uses /

Solution: use / like the rest of the names
This commit is contained in:
Luca Boccassi 2019-02-17 18:56:20 +00:00
parent de76789ac6
commit 563396445a

View File

@ -57,7 +57,8 @@ zmq::io_thread_t::~io_thread_t ()
void zmq::io_thread_t::start ()
{
char name[16];
snprintf(name, sizeof(name), "IO %u", get_tid() - zmq::ctx_t::reaper_tid);
snprintf (name, sizeof (name), "IO/%u",
get_tid () - zmq::ctx_t::reaper_tid);
// Start the underlying I/O thread.
_poller->start (name);
}