This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088
Fork of libMiMic by
Diff: core/os/NyLPC_cMutex.h
- Revision:
- 41:2389bd6b6f74
- Parent:
- 37:fc4b4fd6a649
--- a/core/os/NyLPC_cMutex.h Thu Jun 20 03:15:34 2013 +0000 +++ b/core/os/NyLPC_cMutex.h Sun Jun 30 14:17:42 2013 +0000 @@ -34,6 +34,8 @@ #include "queue.h" #include "semphr.h" #elif NyLPC_ARCH==NyLPC_ARCH_MBEDRTOS +#elif NyLPC_ARCH==NyLPC_ARCH_WIN32 + //not implemented! #else #error Bad NyLPC_ARCH! #endif @@ -49,7 +51,6 @@ **********************************************************************/ typedef struct NyLPC_TcMutex NyLPC_TcMutex_t; -#include "NyLPC_stdlib.h" #if NyLPC_ARCH==NyLPC_ARCH_FREERTOS struct NyLPC_TcMutex @@ -63,6 +64,12 @@ void* _mutex;//rtos::Mutex* NyLPC_TUInt8 _lock_count; }; +#elif NyLPC_ARCH==NyLPC_ARCH_WIN32 +//not work! +struct NyLPC_TcMutex +{ + int dummy; +}; #endif NyLPC_TBool NyLPC_cMutex_initialize(NyLPC_TcMutex_t* i_inst);