00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef LIGHTREMUTEX_H
00016 #define LIGHTREMUTEX_H
00017
00018 #include "pandabase.h"
00019 #include "mutexDebug.h"
00020 #include "lightReMutexDirect.h"
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifdef DEBUG_THREADS
00032 class EXPCL_PANDA_PIPELINE LightReMutex : public MutexDebug
00033 #else
00034 class EXPCL_PANDA_PIPELINE LightReMutex : public LightReMutexDirect
00035 #endif // DEBUG_THREADS
00036 {
00037 PUBLISHED:
00038 INLINE LightReMutex();
00039 public:
00040 INLINE LightReMutex(const char *name);
00041 PUBLISHED:
00042 INLINE LightReMutex(const string &name);
00043 INLINE ~LightReMutex();
00044 private:
00045 INLINE LightReMutex(const LightReMutex ©);
00046 INLINE void operator = (const LightReMutex ©);
00047 };
00048
00049 #include "lightReMutex.I"
00050
00051 #endif