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

tuftool: use tempfile in a thread #702

Merged
merged 1 commit into from
Nov 7, 2023
Merged

Conversation

webern
Copy link
Contributor

@webern webern commented Nov 4, 2023

Issue #, if available:

Closes #697

Description of changes:

Use NamedTempFile in a thread to make sure we don't run into an issue with the scheduler being blocked.

Testing

This function is exercised by 10 unit tests (I checked by adding a panic to this function).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

tuftool/src/main.rs Outdated Show resolved Hide resolved
Use NamedTempFile in a thread to make sure we don't run into an issue
with the scheduler being blocked.
@webern webern merged commit 1881227 into awslabs:develop Nov 7, 2023
9 checks passed
@webern webern deleted the tempfile-thread branch November 7, 2023 17:40
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.

check for blocking tempfile usage in tuftool
3 participants