[Tinyos-beta-commits] CVS: tinyos-1.x/beta/teps/txt tep106.txt, 1.1, 1.2

Phil Levis scipio at users.sourceforge.net
Wed Dec 15 11:40:48 PST 2004


Update of /cvsroot/tinyos/tinyos-1.x/beta/teps/txt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11757

Modified Files:
	tep106.txt 
Log Message:
Minor update


Index: tep106.txt
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/teps/txt/tep106.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** tep106.txt	15 Dec 2004 19:29:43 -0000	1.1
--- tep106.txt	15 Dec 2004 19:40:45 -0000	1.2
***************
*** 41,45 ****
  
  
! 2. Tasks
  ====================================================================
  
--- 41,45 ----
  
  
! 2. Tasks in TinyOS 1.x
  ====================================================================
  
***************
*** 51,57 ****
  are atomic with respect to other tasks[2].
  
  TinyOS 1.x provides a single kind of task, a parameter-free function,
! and a single scheduling policy, FIFO. The nesC language supports
! tasks through two mechanisms, a task declaration and the 
  
  6. Author's Address
--- 51,72 ----
  are atomic with respect to other tasks[2].
  
+ In TinyOS 1.x, the nesC language
+ supports tasks through two mechanisms, *task* declarations and *post*
+ expressions:
+ 
+   task void computeTask() {
+     // Code here
+   }
+ 
+ and
+ 
+   result_t rval = post computeTask();
+ 
+ 
+     
+ 
  TinyOS 1.x provides a single kind of task, a parameter-free function,
! and a single scheduling policy, FIFO.
! 
  
  6. Author's Address



More information about the Tinyos-beta-commits mailing list