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

Need to Join Completed Producer Threads in Trace to Events #282

Merged

Conversation

Modularius
Copy link
Contributor

Summary of changes

Producer threads created in the trace-to-events create were not being joined with the main thread, possibly causing excessive memory usage.

This PR introduces a tokio::select statement which joins completed threads without waiting for them.

Instruction for review/testing

General code review.

Tested on simulated and hifi input.

@Modularius Modularius requested a review from DanNixon November 28, 2024 10:39
trace-to-events/src/main.rs Outdated Show resolved Hide resolved
@Modularius Modularius requested a review from DanNixon November 29, 2024 00:21
@DanNixon DanNixon merged commit 74b9fc7 into STFC-ICD-Research-and-Design:main Nov 29, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants