[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/mac/tkn154/interfaces/private ResourceTransferControl.nc, 1.1, 1.2 ResourceTransferred.nc, 1.3, 1.4

Jan-Hinrich Hauer janhauer at users.sourceforge.net
Thu Oct 23 09:09:30 PDT 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/mac/tkn154/interfaces/private
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv6388/interfaces/private

Modified Files:
	ResourceTransferControl.nc ResourceTransferred.nc 
Log Message:
Fixed a bug with the resource transfer


Index: ResourceTransferControl.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/mac/tkn154/interfaces/private/ResourceTransferControl.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ResourceTransferControl.nc	16 Jun 2008 18:00:34 -0000	1.1
--- ResourceTransferControl.nc	23 Oct 2008 16:09:28 -0000	1.2
***************
*** 35,38 ****
  {
    async command error_t transfer(uint8_t fromClient, uint8_t toClient);
-   async command error_t release(uint8_t client);
  }
--- 35,37 ----

Index: ResourceTransferred.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/mac/tkn154/interfaces/private/ResourceTransferred.nc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ResourceTransferred.nc	21 Oct 2008 17:29:00 -0000	1.3
--- ResourceTransferred.nc	23 Oct 2008 16:09:28 -0000	1.4
***************
*** 38,43 ****
     * Ownership of a resource is transferred, possibly overriding the default
     * queueing policy. This event is similar to an async Resource.granted()
!    * event, but when a the resource is released, it is released on behalf of
!    * the client who was last signalled the Resource.granted() event.
     *
     * @see ResourceTransfer interface
--- 38,42 ----
     * Ownership of a resource is transferred, possibly overriding the default
     * queueing policy. This event is similar to an async Resource.granted()
!    * event, initiated by the previous owner of the resource.
     *
     * @see ResourceTransfer interface



More information about the Tinyos-2-commits mailing list