[Tinyos-2-commits] CVS: tinyos-2.x/tos/system SchedulerBasicP.nc, 1.6, 1.7
John Regehr
regehr at users.sourceforge.net
Thu Jul 10 13:44:10 PDT 2008
Update of /cvsroot/tinyos/tinyos-2.x/tos/system
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv13530
Modified Files:
SchedulerBasicP.nc
Log Message:
nuke volatiles in the scheduler
Index: SchedulerBasicP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/system/SchedulerBasicP.nc,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** SchedulerBasicP.nc 24 Jun 2008 05:32:32 -0000 1.6
--- SchedulerBasicP.nc 10 Jul 2008 20:44:08 -0000 1.7
***************
*** 54,60 ****
};
! volatile uint8_t m_head;
! volatile uint8_t m_tail;
! volatile uint8_t m_next[NUM_TASKS];
// Helper functions (internal functions) intentionally do not have atomic
--- 54,60 ----
};
! uint8_t m_head;
! uint8_t m_tail;
! uint8_t m_next[NUM_TASKS];
// Helper functions (internal functions) intentionally do not have atomic
More information about the Tinyos-2-commits
mailing list