mirror of
https://github.com/zeromq/libzmq.git
synced 2025-09-10 00:20:22 +02:00

Solution: use pthread API to set the name. For now call every thread "ZMQ b/g thread". Would be nice to number the I/O threads and name explicitly the reaper thread, but in reality a bit of internal API churn would be necessary, so perhaps it's not worth it. This is useful when debugging a process with many threads.