]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/system/TinyOSMainP.nc
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / lib / tosthreads / system / TinyOSMainP.nc
index 2df6d5df357c351c65ae1888f61641f73e5fb65a..8c8e44238099fa329c6f88969180f33d3a2afc44 100644 (file)
  * @author Kevin Klues <klueska@cs.stanford.edu> 
  */
 
+#ifdef DYNTHREADS 
+  #define AT_SPONTANEOUS       @spontaneous()
+#else
+  #define AT_SPONTANEOUS
+#endif
+
 module TinyOSMainP {
   provides {
     interface Boot;
@@ -93,6 +99,10 @@ implementation {
     call TaskScheduler.taskLoop();
     
   }
+  
+  async command error_t ThreadInfo.reset() {
+    return FAIL;
+  }
 
   async command thread_t* ThreadInfo.get() {
     return &thread_info;