Carl Lerche fe14e7b127 Introduce the Tokio runtime: Reactor + Threadpool (#141)
This patch is an intial implementation of the Tokio runtime. The Tokio
runtime provides an out of the box configuration for running I/O heavy
asynchronous applications.

As of now, the Tokio runtime is a combination of a work-stealing thread
pool as well as a background reactor to drive I/O resources.

This patch also includes tokio-executor, a hopefully short lived crate
that is based on the futures 0.2 executor RFC.

* Implement `Park` for `Reactor`

This enables the reactor to be used as the thread parker for executors.
This also adds an `Error` component to `Park`. With this change, a
`Reactor` and a `CurrentThread` can be combined to achieve the
capabilities of tokio-core.
2018-02-21 07:42:22 -08:00
2018-02-12 09:52:05 -08:00
2018-02-09 14:30:32 -08:00
2016-08-26 14:56:21 -07:00
2018-02-20 15:13:52 -08:00
2018-02-07 13:28:29 -08:00

Tokio

A platform for writing fast networking code with Rust.

Build Status Build status

Website | Guides | API Docs

Overview

Tokio is an event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications. It is used for implementing networking clients and servers.

Tokio uses the futures crate as a foundation to build on, providing networking types and other utilities needed for building a production ready application.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in tokio by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

S
Description
A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
Readme MIT
63 MiB
Languages
Rust 100%