Tasks can now be added to computer or blocking threads.

The tasks are now objects that implement Taskable.
This commit is contained in:
Jason Travis Smith
2016-04-01 15:12:44 -04:00
parent 82486b1634
commit 28ab99e867
9 changed files with 637 additions and 339 deletions

View File

@ -1,4 +1,5 @@
/// The different states a Task can go through during its lifetime.
#[derive(Clone, Copy)]
pub enum TaskState
{
/// The state that every Task starts in.