]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Update of documentation
authorklueska <klueska>
Sun, 15 Apr 2007 20:39:48 +0000 (20:39 +0000)
committerklueska <klueska>
Sun, 15 Apr 2007 20:39:48 +0000 (20:39 +0000)
tos/system/FcfsArbiterC.nc
tos/system/RoundRobinArbiterC.nc

index 894d82ad0e91cfe35a28da3bd5932654be49fc01..8476d4209c000e590c3103096ab1261b3caf3b9e 100644 (file)
  * Please refer to TEP 108 for more information about this component and its
  * intended use.<br><br>
  *
- * This component provides the Resource, ArbiterInfo, and Resource
- * Controller interfaces and uses the ResourceConfigure interface as
+ * This component provides the Resource, ArbiterInfo, and ResourceDefaultOwner
+ * interfaces and uses the ResourceConfigure interface as
  * described in TEP 108.  It provides arbitration to a shared resource in
  * an FCFS fashion.  An array is used to keep track of which users have put
  * in requests for the resource.  Upon the release of the resource by one
  * of these users, the array is checked and the next user (in FCFS order)
  * that has a pending request will ge granted control of the resource.  If
- * there are no pending requests, then the resource becomes idle and any
- * user can put in a request and immediately receive access to the
- * Resource.
+ * there are no pending requests, then the resource is granted to the default 
+ * user.  If a new request is made, the default user will release the resource, 
+ * and it will be granted to the requesting cleint.
  *
  * @param <b>resourceName</b> -- The name of the Resource being shared
  * 
index 9f52ed8f0b3f592a3a77048a323ef91f1fc2c1a9..dd8fb6a1ee1bdc5aefc8d1134ce355c3d4a32aad 100644 (file)
  * Please refer to TEP 108 for more information about this component and its
  * intended use.<br><br>
  *
- * This component provides the Resource, ArbiterInfo, and Resource
- * Controller interfaces and uses the ResourceConfigure interface as
+ * This component provides the Resource, ArbiterInfo, and ResourceDefaultOwner
+ * interfaces and uses the ResourceConfigure interface as
  * described in TEP 108.  It provides arbitration to a shared resource in
- * an FCFS fashion.  An array is used to keep track of which users have put
- * in requests for the resource.  Upon the release of the resource by one
- * of these users, the array is checked and the next user (in FCFS order)
+ * a Round Robin fashion.  An array is used to keep track of which users have 
+ * put in requests for the resource.  Upon the release of the resource by one
+ * of these users, the array is checked and the next user (in Round Robin order)
  * that has a pending request will ge granted control of the resource.  If
- * there are no pending requests, then the resource becomes idle and any
- * user can put in a request and immediately receive access to the
- * Resource.
+ * there are no pending requests, then the resource is granted to the default 
+ * user.  If a new request is made, the default user will release the resource, 
+ * and it will be granted to the requesting cleint.
  *
  * @param <b>resourceName</b> -- The name of the Resource being shared
  *