]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/system/TinyOSMainP.nc
Move AT_SPONTANEOUS definition from TinyOSEntryPointC.nc to TinyOSMainP.nc. This...
[tinyos-2.x.git] / tos / lib / tosthreads / system / TinyOSMainP.nc
index 75d06aa1683d5bf2d9669c5dac81959d8f75573b..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;