diff options
author | Carl Lerche <me@carllerche.com> | 2020-03-05 10:31:37 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-05 10:31:37 -0800 |
commit | a78b1c65ccfb9692ca5d3ed8ddde934f40091d83 (patch) | |
tree | c88e547d6913b204f590aea54dc03328ee3cb094 /tokio/src/lib.rs | |
parent | 5ede2e4d6b2f732e83e33f9693682dffc6c9f5b0 (diff) |
rt: cleanup and simplify scheduler (scheduler v2.5) (#2273)
A refactor of the scheduler internals focusing on simplifying and
reducing unsafety. There are no fundamental logic changes.
* The state transitions of the core task component are refined and
reduced.
* `basic_scheduler` has most unsafety removed.
* `local_set` has most unsafety removed.
* `threaded_scheduler` limits most unsafety to its queue implementation.
Diffstat (limited to 'tokio/src/lib.rs')
-rw-r--r-- | tokio/src/lib.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tokio/src/lib.rs b/tokio/src/lib.rs index 843a1e64..1498c2b5 100644 --- a/tokio/src/lib.rs +++ b/tokio/src/lib.rs @@ -382,10 +382,6 @@ cfg_macros! { } } -// Tests -#[cfg(test)] -mod tests; - // TODO: rm #[cfg(feature = "io-util")] #[cfg(test)] |