From: Christian P. <cp...@us...> - 2005-05-07 13:26:10
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17167/include/pclasses Modified Files: CoreMutex.h Log Message: - Added missing export macro Index: CoreMutex.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/CoreMutex.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- CoreMutex.h 6 May 2005 15:21:01 -0000 1.1 +++ CoreMutex.h 7 May 2005 13:26:02 -0000 1.2 @@ -28,28 +28,28 @@ //! CoreMutex /*! - The CoreMutex class is a minimalistic Mutex class used by the + The CoreMutex class is a minimalistic Mutex class used by the P::Classes Core module where locking is necessary. */ class PCORE_EXPORT CoreMutex: public NonCopyable { - public: - CoreMutex(); - ~CoreMutex(); - - void lock() throw(); - void unlock() throw(); + public: + CoreMutex(); + ~CoreMutex(); - class ScopedLock: public NonCopyable { - public: - ScopedLock(CoreMutex& mtx); - ~ScopedLock(); + void lock() throw(); + void unlock() throw(); - private: - CoreMutex& _mtx; - }; + class PCORE_EXPORT ScopedLock: public NonCopyable { + public: + ScopedLock(CoreMutex& mtx); + ~ScopedLock(); - private: - unsigned long _handle; + private: + CoreMutex& _mtx; + }; + + private: + unsigned long _handle; }; } // !namespace P |