mirror of
https://github.com/zeromq/libzmq.git
synced 2025-02-23 15:14:40 +01: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.