X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Finterfaces%2FResourceQueue.nc;h=74a77ede966fc53fdbf5167a5a3f4f6c2067f68c;hp=3b135b85931d5391666e92db122f1ec921f3c10f;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hpb=adf1de6c009d13b7b52e68535c63b28f59c97400 diff --git a/tos/interfaces/ResourceQueue.nc b/tos/interfaces/ResourceQueue.nc index 3b135b85..74a77ede 100644 --- a/tos/interfaces/ResourceQueue.nc +++ b/tos/interfaces/ResourceQueue.nc @@ -43,7 +43,7 @@ interface ResourceQueue { async command bool isEmpty(); /** - * Check to see if a given cleint id has already been enqueued + * Check to see if a given client id has already been enqueued * and is waiting to be processed. * * @return TRUE if the client id is in the queue.
@@ -52,17 +52,17 @@ interface ResourceQueue { async command bool isEnqueued(resource_client_id_t id); /** - * Retreive the cleint id of the next resource in the queue. + * Retreive the client id of the next resource in the queue. * If the queue is empty, the return value is undefined. * - * @return The cleint id at the head of the queue. + * @return The client id at the head of the queue. */ async command resource_client_id_t dequeue(); /** - * Enqueue a cleint id + * Enqueue a client id * - * @param cleintId - the cleint id to enqueue + * @param clientId - the client id to enqueue * @return SUCCESS if the client id was enqueued successfully
* EBUSY if it has already been enqueued. */