Package felix.society

This package defines the data structure used by Felix to execute concurrent tasks -- it is named ``society'' because there is a hierarchy like: TaskSet/TaskList >= TaskSet/TaskList > Task > Worker.

See:
          Description

Class Summary
Task A concurrent task.
TaskList TaskList -- Subtasks in it must be executed in order, and the downstream tasks can be executed only if the upstream tasks are joined.
TaskSet TaskSet -- Subtasks in it can be executed in parallel (and then joined).
TasksFactory Deprecated.  
Worker A worker is a Runnable object generated by Task/TaskList/TaskWorker.
 

Enum Summary
Task.TaskType Type of task \in {TASKSET, TASKLIST, TASK}
 

Package felix.society Description

This package defines the data structure used by Felix to execute concurrent tasks -- it is named ``society'' because there is a hierarchy like: TaskSet/TaskList >= TaskSet/TaskList > Task > Worker.

TaskSet contains tasks that can be executed in parallel. TaskList contains tasks that must be executed in order. TaskSet and TaskList are special case of Task. Task will generate Worker, which is a thread object.

TaskFactory is a constructor of a list of Tasks.