[Tinyos-2-commits] CVS: tinyos-2.x/tos/system ArbiterP.nc,1.6,1.7
Kevin Klues
klueska at users.sourceforge.net
Fri Sep 7 12:44:57 PDT 2007
Update of /cvsroot/tinyos/tinyos-2.x/tos/system
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv6744
Modified Files:
ArbiterP.nc
Log Message:
Fix to ResourceDefaultOwner.isOwner()
Index: ArbiterP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/system/ArbiterP.nc,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** ArbiterP.nc 24 Aug 2007 16:10:09 -0000 1.6
--- ArbiterP.nc 7 Sep 2007 19:44:55 -0000 1.7
***************
*** 177,181 ****
async command uint8_t ResourceDefaultOwner.isOwner() {
! return call Resource.isOwner[default_owner_id]();
}
--- 177,181 ----
async command uint8_t ResourceDefaultOwner.isOwner() {
! atomic return (state == RES_CONTROLLED);
}
More information about the Tinyos-2-commits
mailing list