]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/csystem/TinyOSEntryPointC.nc
Added thread_join functions and fixed the @spontaneous stuff to not create functions...
[tinyos-2.x.git] / tos / lib / tosthreads / csystem / TinyOSEntryPointC.nc
index d55f5a613a9aa3279d94dfbdd45d81cf28b704e9..25befbd745e14ca07c2ff91537905c1c0147f6a5 100644 (file)
  
 #include "tosthread.h"
 
+#ifdef DYNTHREADS 
+  #define AT_SPONTANEOUS       @spontaneous()
+#else
+  #define AT_SPONTANEOUS
+#endif
+
 configuration TinyOSEntryPointC {
 }
 implementation {