00001
00002
00003
00004
00005 #ifndef _VMCF_CORE_IMPL_INT_H_
00006 #define _VMCF_CORE_IMPL_INT_H_
00007
00020 #include "iluxport.h"
00021 #include "VMCFCoreImpl.h"
00022
00023
00027 #define VMCFMutex ilu_Mutex
00028
00029
00036 #define VMCF_MUTEX_CREATE(str1, str2) ilu_CreateMutex((str1), (str2));
00037
00038
00044 #define VMCF_MUTEX_DESTROY(mutex) { \
00045 ilu_Error _err = ILU_INIT_NO_ERR; \
00046 ilu_DestroyMutex(mutex, &_err); \
00047 ILU_HANDLED(_err); \
00048 }
00049
00050
00057 #define VMCF_MUTEX_ENTER(mutex) { \
00058 ilu_Error _err = ILU_INIT_NO_ERR; \
00059 ilu_EnterMutex((mutex), &_err); \
00060 ILU_HANDLED(_err); \
00061 }
00062
00063
00070 #define VMCF_MUTEX_EXIT(mutex) { \
00071 ilu_Error _err = ILU_INIT_NO_ERR; \
00072 ilu_ExitMutex((mutex), ilu_FALSE, &_err); \
00073 ILU_HANDLED(_err); \
00074 }
00075
00076
00084 #endif
00085