From ff2f9698cd6f8a0daf9cb28b39a0b641db3edc72 Mon Sep 17 00:00:00 2001 From: regehr Date: Thu, 10 Jul 2008 20:44:08 +0000 Subject: [PATCH] nuke volatiles in the scheduler --- tos/system/SchedulerBasicP.nc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.2