Skip to content
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

Give streamer::receiver() threads unique names #35369

Merged

Conversation

steviez
Copy link
Contributor

@steviez steviez commented Feb 29, 2024

Problem

The name was previously hard-coded to solReceiver. The use of the same name makes it hard to figure out which thread is which when this code is used for many services (Gossip, Tvu, etc).

Summary of Changes

Add a thread name parameter, and let the caller choose a meaningful name.

The name was previously hard-coded to solReceiver. The use of the same
name makes it hard to figure out which thread is which when these
threads are handling many services (Gossip, Tvu, etc).
@steviez steviez requested a review from behzadnouri February 29, 2024 21:22
@steviez steviez merged commit 7d6f1d5 into solana-labs:master Mar 1, 2024
35 checks passed
@steviez steviez deleted the streamer_receiver_unique_thread_name branch March 1, 2024 19:36
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