[Tinyos-2-commits] CVS: tinyos-2.x/tos/system ArbiterP.nc,1.8,1.9
Kevin Klues
klueska at users.sourceforge.net
Fri May 9 14:29:04 PDT 2008
Update of /cvsroot/tinyos/tinyos-2.x/tos/system
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv26022
Modified Files:
ArbiterP.nc
Log Message:
Rearranged order of unconfigure with power down via ResourceDefaultOwner
Index: ArbiterP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/system/ArbiterP.nc,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** ArbiterP.nc 2 Nov 2007 06:07:49 -0000 1.8
--- ArbiterP.nc 9 May 2008 21:29:01 -0000 1.9
***************
*** 113,123 ****
state = RES_GRANTING;
post grantedTask();
}
else {
resId = default_owner_id;
state = RES_CONTROLLED;
signal ResourceDefaultOwner.granted();
}
- call ResourceConfigure.unconfigure[id]();
}
}
--- 113,124 ----
state = RES_GRANTING;
post grantedTask();
+ call ResourceConfigure.unconfigure[id]();
}
else {
resId = default_owner_id;
state = RES_CONTROLLED;
+ call ResourceConfigure.unconfigure[id]();
signal ResourceDefaultOwner.granted();
}
}
}
More information about the Tinyos-2-commits
mailing list