This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088
Fork of libMiMic by
Diff: core/os/NyLPC_cThread.h
- Revision:
- 41:2389bd6b6f74
- Parent:
- 12:efe841863fc8
- Child:
- 48:00d211aac2ec
diff -r d4e62303ad85 -r 2389bd6b6f74 core/os/NyLPC_cThread.h --- a/core/os/NyLPC_cThread.h Thu Jun 20 03:15:34 2013 +0000 +++ b/core/os/NyLPC_cThread.h Sun Jun 30 14:17:42 2013 +0000 @@ -34,6 +34,8 @@ #include "FreeRTOS.h" #include "task.h" #elif NyLPC_ARCH==NyLPC_ARCH_MBEDRTOS +#elif NyLPC_ARCH==NyLPC_ARCH_WIN32 + //not work! #else #error Bad NyLPC_ARCH! #endif @@ -52,7 +54,7 @@ */ typedef struct NyLPC_TcThread NyLPC_TcThread_t; -/** スレッドの関数型*/ +/** スレッドの関数型 */ typedef int (*NyLPC_TcThread_ThreadFunc)(void* i_param); /** */ #define NyLPC_TcThread_DEFAULT_STACKSIZE configMINIMAL_STACK_SIZE @@ -86,7 +88,13 @@ NyLPC_TcThread_ThreadFunc _func; void* _arg; }; - +#elif NyLPC_ARCH==NyLPC_ARCH_WIN32 +//this is dummy definition. +struct NyLPC_TcThread +{ + int dummy; + NyLPC_TcThread_ThreadFunc _func; +}; #else #error Bad NyLPC_ARCH! #endif