mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-30 21:50:49 +01:00
Problem: IO thread name uses space separator, the rest uses /
Solution: use / like the rest of the names
This commit is contained in:
@@ -57,7 +57,8 @@ zmq::io_thread_t::~io_thread_t ()
|
|||||||
void zmq::io_thread_t::start ()
|
void zmq::io_thread_t::start ()
|
||||||
{
|
{
|
||||||
char name[16];
|
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.
|
// Start the underlying I/O thread.
|
||||||
_poller->start (name);
|
_poller->start (name);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user