mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 20:59:47 +01:00
Implement thread name on windows, cleanup thread naming internals
This commit is contained in:
@@ -57,10 +57,8 @@ zmq::io_thread_t::~io_thread_t ()
|
||||
void zmq::io_thread_t::start ()
|
||||
{
|
||||
char name[16] = "";
|
||||
#ifndef ZMQ_HAVE_WINDOWS
|
||||
snprintf (name, sizeof (name), "IO/%u",
|
||||
get_tid () - zmq::ctx_t::reaper_tid - 1);
|
||||
#endif
|
||||
// Start the underlying I/O thread.
|
||||
_poller->start (name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user