From d76ab94c1a62e0a7ce46257d91183981a9283449 Mon Sep 17 00:00:00 2001 From: klueska Date: Sun, 15 Apr 2007 20:39:48 +0000 Subject: [PATCH] Update of documentation --- tos/system/FcfsArbiterC.nc | 10 +++++----- tos/system/RoundRobinArbiterC.nc | 16 ++++++++-------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/tos/system/FcfsArbiterC.nc b/tos/system/FcfsArbiterC.nc index 894d82ad..8476d420 100644 --- a/tos/system/FcfsArbiterC.nc +++ b/tos/system/FcfsArbiterC.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) * 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 * 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 * -- 2.39.2