Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants