* @author Kevin Klues <klueska@cs.stanford.edu>
*/
+#ifdef DYNTHREADS
+ #define AT_SPONTANEOUS @spontaneous()
+#else
+ #define AT_SPONTANEOUS
+#endif
+
module TinyOSMainP {
provides {
interface Boot;
call TaskScheduler.taskLoop();
}
+
+ async command error_t ThreadInfo.reset() {
+ return FAIL;
+ }
async command thread_t* ThreadInfo.get() {
return &thread_info;