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

rt: fix storing Runtime in thread-local #2011

Merged
merged 3 commits into from
Dec 22, 2019
Merged

Conversation

carllerche
Copy link
Member

@carllerche carllerche commented Dec 21, 2019

Storing a Runtime value in a thread-local resulted in a panic due to
the inability to access the parker.

This fixes the bug by skipping parking if it fails. In general, there
isn't much that we can do besides not parking.

Storing a `Runtime` value in a thread-local resulted in a panic due to
the inability to access the parker.

This fixes the bug by skipping parking if it fails. In general, there
isn't much that we can do besides not parking.
@carllerche carllerche changed the title rt: add runtime in thread-local test rt: fix storing Runtime in thread-local Dec 21, 2019
@carllerche carllerche merged commit adc5186 into master Dec 22, 2019
@carllerche carllerche deleted the rt-in-thread-local branch January 10, 2020 19:30
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.

None yet

2 participants