[][src]Crate yatp

Yatp is a thread pool that tries to be adaptive, responsive and generic.

Traits

LocalSpawn

Allows spawn a task inside the thread pool.

RemoteSpawn

Allows spawn a task to the thread pool from a different thread.

Runner

In Yatp model, any pieces of logic aims to be executed in thread pool is called Task. There can be different definitions of Task. Some people may choose Future as Task, some may just want callbacks, or even Actor messages. But no matter what a Task is, there should be some role know how to execute it. The role is call Runner.