X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fsystem%2FRoundRobinArbiterC.nc;h=dd8fb6a1ee1bdc5aefc8d1134ce355c3d4a32aad;hb=d76ab94c1a62e0a7ce46257d91183981a9283449;hp=9f52ed8f0b3f592a3a77048a323ef91f1fc2c1a9;hpb=d9c5479d38caf5e9b147f5f99c29af63fe6a33ae;p=tinyos-2.x.git diff --git a/tos/system/RoundRobinArbiterC.nc b/tos/system/RoundRobinArbiterC.nc index 9f52ed8f..dd8fb6a1 100644 --- a/tos/system/RoundRobinArbiterC.nc +++ b/tos/system/RoundRobinArbiterC.nc @@ -60,16 +60,16 @@ * Please refer to TEP 108 for more information about this component and its * intended use.

* - * 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 resourceName -- The name of the Resource being shared *