From: vlahan
+
diff --git a/doc/html/tep106.html b/doc/html/tep106.html
index d65a035a..a444e4af 100644
--- a/doc/html/tep106.html
+++ b/doc/html/tep106.html
@@ -303,9 +303,9 @@ ul.auto-toc {
TinyOS
- tinyos-2.0.0-1.cygwin.noarch.rpm
- tinyos-2.0.0-1.noarch.rpm
+ tinyos-2.0.0-3.cygwin.noarch.rpm
+ tinyos-2.0.0-3.noarch.rpm
Philip Levis and Cory Sharp
-Draft-Created: 10-Dec-2004
Draft-Version: 1.1.2.10
+
-Draft-Version: 1.1.2.11
Draft-Modified: 2006-08-17
+Draft-Modified: 2006-11-07
@@ -627,7 +627,12 @@ implementation {
TaskEdf interface. Its configuration SHOULD wire it to TinySchedulerC.
The key used for task unique identifiers MUST be "TinySchedulerC.TaskInterface",
where TaskInterface is the name of the new task interface as presented
-by the scheduler. For example, the module SomethingP requires two EDF
+by the scheduler. A common way to make sure a consistent string is used
+is to #define it. For example, TaskEdf.nc might include:Draft-Discuss: TinyOS Developer List <tinyos-devel at mail.millennium.berkeley.edu>
+#define UQ_TASK_EDF "TinySchedulerC.TaskEdf" ++
In this example, the module SomethingP requires two EDF tasks:
configuration SomethingC { @@ -635,8 +640,8 @@ configuration SomethingC { } implementation { components SomethingP, TinySchedulerC; - SomethingP.SendTask -> TinySchedulerC.TaskEdf["TinySchedulerC.TaskEdf"]; - SomethingP.SenseTask -> TinySchedulerC.TaskEdf["TinySchedulerC.TaskEdf"]; + SomethingP.SendTask -> TinySchedulerC.TaskEdf[unique(UQ_TASK_EDF)]; + SomethingP.SenseTask -> TinySchedulerC.TaskEdf[unique(UQ_TASK_EDF)]; }
The module SomethingP also has a basic task. The nesC compiler diff --git a/doc/html/tep109.html b/doc/html/tep109.html index dec7d902..0de30da7 100644 --- a/doc/html/tep109.html +++ b/doc/html/tep109.html @@ -3,7 +3,7 @@
- +