22 #ifndef _osaCriticalSection_h
23 #define _osaCriticalSection_h
28 #if (CISST_OS == CISST_LINUX_RTAI) || (CISST_OS == CISST_LINUX) || (CISST_OS == CISST_DARWIN) || (CISST_OS == CISST_SOLARIS) || (CISST_OS == CISST_QNX) || (CISST_OS == CISST_LINUX_XENOMAI)
38 friend class osaMutexTest;
40 #if (CISST_OS == CISST_WINDOWS)
42 enum {INTERNALS_SIZE = 64};
43 char Internals[INTERNALS_SIZE];
45 #if (CISST_OS == CISST_LINUX_RTAI) || (CISST_OS == CISST_LINUX) || (CISST_OS == CISST_DARWIN) || (CISST_OS == CISST_SOLARIS) || (CISST_OS == CISST_QNX) || (CISST_OS == CISST_LINUX_XENOMAI)
46 enum {INTERNALS_SIZE = 0};
52 static unsigned int SizeOfInternals(
void);
63 #endif // _osaCriticalSection_h
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
Define a Mutex object.
Definition: osaMutex.h:48
Portability across compilers and operating systems tools.
Definition: osaCriticalSection.h:36
Macros to export the symbols of cisstOSAbstraction (in a Dll).