8000 Problem: ZMQ background threads are unnamed by bluca · Pull Request #2367 · zeromq/libzmq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Problem: ZMQ background threads are unnamed #2367

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 12, 2017

Conversation

bluca
Copy link
Member
@bluca bluca commented Mar 12, 2017

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.

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.
@c-rack c-rack merged commit 33246f7 into zeromq:master Mar 12, 2017
@c-rack
Copy link
Member
c-rack commented Mar 12, 2017

Would propose to rename it from "ZMQ b/g thread" to "ZMQ background" to avoid the "b/g" abbreviation. If you display thread names, the "thread" part is implied.

@bluca
Copy link
Member Author
bluca commented Mar 12, 2017

Sounds reasonable: #2368

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0