Author: allison Date: Wed Dec 12 00:26:36 2007 New Revision: 23790 Modified: trunk/docs/pdds/pdd25_concurrency.pod
Log: [concurrency] Add a subtype attribute to the Task PMC, for events and exceptions. Modified: trunk/docs/pdds/pdd25_concurrency.pod ============================================================================== --- trunk/docs/pdds/pdd25_concurrency.pod (original) +++ trunk/docs/pdds/pdd25_concurrency.pod Wed Dec 12 00:26:36 2007 @@ -306,32 +306,37 @@ =item 3 -The priority of the task +The subtype of the task =item 4 -The birthtime stamp of the task +The priority of the task =item 5 -The status of the task +The birthtime stamp of the task =item 6 -The code block of the task (optional) +The status of the task =item 7 +The code block of the task (optional) + +=item 8 + An interpreter structure for the task (optional) =back -Types of tasks include 'event', 'exception', 'io', and 'code'. Possible status -values for tasks include 'created', 'invoked', 'inprocess', and 'completed'. -The final state of a task is 'destroyed', but is never marked (the task PMC is -removed from the task list and at some later point destroyed by GC). The -priority of a task is an integer value between 0 and 100, with 0 as the lowest -priority. +Types of tasks include 'event', 'exception', 'io', and 'code'. The subtype of a +task is used by events and exceptions to identify appropriate handlers. +Possible status values for tasks include 'created', 'invoked', 'inprocess', and +'completed'. The final state of a task is 'destroyed', but is never marked +(the task PMC is removed from the task list and at some later point destroyed +by GC). The priority of a task is an integer value between 0 and 100, with 0 as +the lowest priority. The birthtime stamp is the point at which the task was inserted into the task list, and is used for calculating the age of tasks.