[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/tosthreads/csystem TinyOSEntryPointC.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/csystem
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv16621/tos/lib/tosthreads/csystem
Modified Files:
TinyOSEntryPointC.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: TinyOSEntryPointC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/tosthreads/csystem/TinyOSEntryPointC.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TinyOSEntryPointC.nc 6 Oct 2008 04:40:02 -0000 1.2
--- TinyOSEntryPointC.nc 9 Jan 2009 01:38:52 -0000 1.3
***************
*** 36,45 ****
#include "tosthread.h"
- #ifdef DYNTHREADS
- #define AT_SPONTANEOUS @spontaneous()
- #else
- #define AT_SPONTANEOUS
- #endif
-
configuration TinyOSEntryPointC {
}
--- 36,39 ----
More information about the Tinyos-2-commits
mailing list