// $Id$
-/* tab:4
+/*
* "Copyright (c) 2000-2003 The Regents of the University of California.
* All rights reserved.
*
#include "hardware.h"
-module SchedulerBasicP {
+module SchedulerBasicP @safe() {
provides interface Scheduler;
provides interface TaskBasic[uint8_t id];
uses interface McuSleep;
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