[Tinyos-2-commits] CVS: tinyos-2.x/tos/system ArbiterP.nc, 1.11, 1.12 SimpleArbiterP.nc, 1.5, 1.6

Kevin Klues klueska at users.sourceforge.net
Fri Aug 15 09:41:21 PDT 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/system
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv435

Modified Files:
	ArbiterP.nc SimpleArbiterP.nc 
Log Message:
Update to set resId to 0xFF while granting

Index: ArbiterP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/system/ArbiterP.nc,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** ArbiterP.nc	24 Jun 2008 05:32:32 -0000	1.11
--- ArbiterP.nc	15 Aug 2008 16:41:19 -0000	1.12
***************
*** 111,114 ****
--- 111,115 ----
          if(call Queue.isEmpty() == FALSE) {
            reqResId = call Queue.dequeue();
+           resId = NO_RES;
            state = RES_GRANTING;
            post grantedTask();

Index: SimpleArbiterP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/system/SimpleArbiterP.nc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** SimpleArbiterP.nc	26 Jun 2008 04:39:15 -0000	1.5
--- SimpleArbiterP.nc	15 Aug 2008 16:41:19 -0000	1.6
***************
*** 100,103 ****
--- 100,104 ----
        if(state == RES_BUSY && resId == id) {
          if(call Queue.isEmpty() == FALSE) {
+           resId = NO_RES;
            reqResId = call Queue.dequeue();
            state = RES_GRANTING;



More information about the Tinyos-2-commits mailing list