11 Commits

Author SHA1 Message Date
Jason Travis Smith
446b92bea5 Committing the current files prior to reformatting. 2016-06-27 18:24:48 -04:00
Jason Travis Smith
455f873f2a The task is switched to the Finished state when shutdown is received. 2016-06-26 08:09:21 -04:00
Jason Travis Smith
7492d3989e When a thread is finished any task that is not finished is re-queued. 2016-06-26 08:05:44 -04:00
Jason Travis Smith
7bd5378500 This adjusts the process of the compute thread.
The compute thread now implements the state machine using the match
statement.
2016-06-26 06:45:25 -04:00
Jason Travis Smith
bc4ed6d0bc Most of the new task processing is now complete.
The task states and how to spawn new tasks has all been sorted out.
All that is left at this point is to handle the thread portion of task
management and to determine how to get messages from the new child
task's completion back to the parent task.
2016-06-25 05:26:10 -04:00
Jason Travis Smith
5d4e3ab9fa Beginning to restructure the task and thread system.
This defines the thread and task system better.
2016-06-22 17:17:59 -04:00
Jason Travis Smith
28ab99e867 Tasks can now be added to computer or blocking threads.
The tasks are now objects that implement Taskable.
2016-04-01 15:12:44 -04:00
Jason Travis Smith
82486b1634 The main enums now have the ability to be displayed. 2016-03-25 05:59:12 -04:00
Jason Travis Smith
d69f9b8e9b Pulled out the thread code to it's own class. 2016-03-25 05:41:50 -04:00
Jason Travis Smith
01f9b49498 Checking this in before I pull the thread code out to its own file. 2016-03-25 02:45:34 -04:00
Jason Travis Smith
b83c3970a6 Initial library commit. 2016-03-18 16:17:01 -04:00