[Tinyos-2-commits] CVS: tinyos-2.x/tos/system SchedulerBasicP.nc, 1.7, 1.8

John Regehr regehr at users.sourceforge.net
Fri Jul 11 21:44:48 PDT 2008


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

Modified Files:
	SchedulerBasicP.nc 
Log Message:
Argh-- removing the volatiles breaks Blink on micaZ!  Putting them
back in until I figure out what is going on.


Index: SchedulerBasicP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/system/SchedulerBasicP.nc,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** SchedulerBasicP.nc	10 Jul 2008 20:44:08 -0000	1.7
--- SchedulerBasicP.nc	12 Jul 2008 04:44:45 -0000	1.8
***************
*** 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
--- 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



More information about the Tinyos-2-commits mailing list