[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/tosthreads/system TinyThreadSchedulerP.nc, 1.8, 1.9
Kevin Klues
klueska at users.sourceforge.net
Wed Oct 22 00:01:26 PDT 2008
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/tosthreads/system TinyThreadSchedulerP.nc, 1.7, 1.8
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/mac/tkn154 BeaconSynchronizeP.nc, 1.5, 1.6 BeaconTransmitP.nc, 1.4, 1.5 CsmaP.nc, 1.2, 1.3 PibP.nc, 1.3, 1.4 RxEnableP.nc, 1.3, 1.4 SimpleTransferArbiterP.nc, 1.1, 1.2 TKN154P.nc, 1.4, 1.5 TKN154_DEBUG.h, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/tosthreads/system
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv28893/system
Modified Files:
TinyThreadSchedulerP.nc
Log Message:
small optimization to join wakeup loop
Index: TinyThreadSchedulerP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/tosthreads/system/TinyThreadSchedulerP.nc,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** TinyThreadSchedulerP.nc 22 Oct 2008 05:37:32 -0000 1.8
--- TinyThreadSchedulerP.nc 22 Oct 2008 07:01:23 -0000 1.9
***************
*** 151,154 ****
--- 151,158 ----
k = 0;
for(i=0; i<sizeof(t->joinedOnMe); i++) {
+ if(t->joinedOnMe[i] == 0) {
+ k+=8;
+ continue;
+ }
for(j=0; j<8; j++) {
if(t->joinedOnMe[i] & 0x1)
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/tosthreads/system TinyThreadSchedulerP.nc, 1.7, 1.8
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/mac/tkn154 BeaconSynchronizeP.nc, 1.5, 1.6 BeaconTransmitP.nc, 1.4, 1.5 CsmaP.nc, 1.2, 1.3 PibP.nc, 1.3, 1.4 RxEnableP.nc, 1.3, 1.4 SimpleTransferArbiterP.nc, 1.1, 1.2 TKN154P.nc, 1.4, 1.5 TKN154_DEBUG.h, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-2-commits
mailing list