[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/tosthreads/system TinyOSMainP.nc, 1.2, 1.3
Chieh-Jan Mike Liang
liang_mike at users.sourceforge.net
Thu Jan 8 17:38:54 PST 2009
Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/tosthreads/system
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv16621/tos/lib/tosthreads/system
Modified Files:
TinyOSMainP.nc
Log Message:
Move AT_SPONTANEOUS definition from TinyOSEntryPointC.nc to TinyOSMainP.nc. This allows both C and nesC thread API to use it.
Index: TinyOSMainP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/tosthreads/system/TinyOSMainP.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TinyOSMainP.nc 6 Oct 2008 04:40:02 -0000 1.2
--- TinyOSMainP.nc 9 Jan 2009 01:38:52 -0000 1.3
***************
*** 43,46 ****
--- 43,52 ----
*/
+ #ifdef DYNTHREADS
+ #define AT_SPONTANEOUS @spontaneous()
+ #else
+ #define AT_SPONTANEOUS
+ #endif
+
module TinyOSMainP {
provides {
More information about the Tinyos-2-commits
mailing list