From: regehr Date: Thu, 10 Jul 2008 20:44:08 +0000 (+0000) Subject: nuke volatiles in the scheduler X-Git-Tag: release_tinyos_2_1_0_0~87 X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;h=ff2f9698cd6f8a0daf9cb28b39a0b641db3edc72;p=tinyos-2.x.git nuke volatiles in the scheduler --- diff --git a/tos/system/SchedulerBasicP.nc b/tos/system/SchedulerBasicP.nc index d80968ed..aadd26e5 100644 --- a/tos/system/SchedulerBasicP.nc +++ b/tos/system/SchedulerBasicP.nc @@ -53,9 +53,9 @@ implementation NO_TASK = 255, }; - volatile uint8_t m_head; - volatile uint8_t m_tail; - volatile uint8_t m_next[NUM_TASKS]; + uint8_t m_head; + uint8_t m_tail; + uint8_t m_next[NUM_TASKS]; // Helper functions (internal functions) intentionally do not have atomic // sections. It is left as the duty of the exported interface functions to