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, chore: rename internal scheduler types #4945

Merged
merged 3 commits into from
Aug 26, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update tokio/src/runtime/scheduler/current_thread.rs
Co-authored-by: Hayden Stainsby <hds@caffeineconcepts.com>
carllerche and hds authored Aug 26, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 3c7d5a87a2aba32f334cbc374b23173fafc1b3cc
2 changes: 1 addition & 1 deletion tokio/src/runtime/scheduler/current_thread.rs
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ pub(crate) struct CurrentThread {

/// This is usually None, but right before dropping the CurrentThread
/// scheduler, it is changed to `Some` with the context being the runtime's
/// own context. This ensures that any tasks dropped in the `CurrentThread`s
/// own context. This ensures that any tasks dropped in the `CurrentThread`'s
/// destructor run in that runtime's context.
context_guard: Option<EnterGuard>,
}