tokio/tokio-current-thread
Jon Gjengset 003b4d8074
Get rid of Enter for with_default (#1315)
We want executors to enforce that there are never multiple active at the
same time. This is ensured through `Enter`, which will panic if you
attempt to create more than one. However, by requiring you to pass an
`&mut Enter` to `executor::with_default`, we were *also* disallowing
temporarily overriding the current executor.

This patch removes that requirement.
2019-07-16 14:29:35 -04:00
..
2019-01-06 23:25:55 -08:00
2019-03-22 13:55:48 -07:00

tokio-current-thread

Single threaded executor for Tokio.

Documentation

Overview

This crate provides the single threaded executor which execute many tasks concurrently.

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tokio by you, shall be licensed as MIT, without any additional terms or conditions.