Author: allison
Date: Mon Dec 10 05:15:46 2007
New Revision: 23695

Modified:
   trunk/docs/pdds/pdd25_concurrency.pod

Log:
[pdd] Adding interface methods for event/exception handlers to concurrency PDD.


Modified: trunk/docs/pdds/pdd25_concurrency.pod
==============================================================================
--- trunk/docs/pdds/pdd25_concurrency.pod       (original)
+++ trunk/docs/pdds/pdd25_concurrency.pod       Mon Dec 10 05:15:46 2007
@@ -43,14 +43,13 @@
 
 =head1 DEFINITIONS
 
-Concurrency is a parallel execution of units of code (on
-multiprocessor machines), or a flexible ordering of units of code (on
-single processor machines). For certain problem spaces, concurrency
-offers significant speed gains by parceling out processor-intensive
-activity or by ensuring that a wait for input or system resources
-doesn't hold up the entire application.
+Concurrency is a parallel execution of units of code (on multiprocessor
+machines), or a flexible ordering of serial units of code (on single processor
+machines). For certain problem spaces, concurrency offers significant speed
+gains by parceling out processor-intensive activity or by ensuring that a wait
+for input or system resources doesn't hold up the entire application.
 
-A task is a unit of code that can be executed in parallel.
+A task is a unit of code that can be executed concurrently.
 
 =head1 IMPLEMENTATION
 
@@ -269,6 +268,25 @@
 
 =back
 
+=head3 Methods
+
+=over 4
+
+=item add_handler
+
+    $P1.add_handler($P2)
+
+Add an event or exception handler to the scheduler's list of handlers.
+
+=item find_handler
+
+    $P1 = $P2.find_handler($P3)
+
+Search for an event or exception handler $P1, in scheduler $P2, for the task
+$P3. Returns a null PMC if an appropriate handler is not found.
+
+=back
+
 =head2 Task PMC API
 
 The interface of the Task PMC is also the minimum required interface for all

Reply via email to