summaryrefslogtreecommitdiff
path: root/include/cppunit/SynchronizedObject.h
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2002-03-27 18:04:02 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2002-03-27 18:04:02 +0000
commit1858c0b90eeee745b3d8f1e2c52d4614c4307ddc (patch)
tree6c1c391304c63241a74f25cd8b7ad9b91d91faae /include/cppunit/SynchronizedObject.h
parent8f5672c150b457d3d4709256797692bdf0c6b920 (diff)
downloadcppunit-1858c0b90eeee745b3d8f1e2c52d4614c4307ddc.tar.gz
Include/msvc/testrunner/TestRunner.
include/msvc/testrunner/TestRunner.h: updated doc. reindented. * include/cppunit/Asserter.h: * include/cppunit/Asserter.cpp: * include/cppunit/TestResultCollector.h: * include/cppunit/TestResult.h: * include/cppunit/SynchronizedObject.h: * include/cppunit/extensions/TestCaller.h: doc update.
Diffstat (limited to 'include/cppunit/SynchronizedObject.h')
-rw-r--r--include/cppunit/SynchronizedObject.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/cppunit/SynchronizedObject.h b/include/cppunit/SynchronizedObject.h
index dac5792..7ee8447 100644
--- a/include/cppunit/SynchronizedObject.h
+++ b/include/cppunit/SynchronizedObject.h
@@ -10,7 +10,7 @@ namespace CppUnit
/*! \brief Base class for synchronized object.
*
* Synchronized object are object which members are used concurrently by mutiple
- * threads.*
+ * threads.
*
* This class define the class SynchronizationObject which must be subclassed
* to implement an actual lock.
@@ -22,6 +22,8 @@ namespace CppUnit
class CPPUNIT_API SynchronizedObject
{
public:
+ /*! \brief Abstract synchronization object (mutex)
+ */
class SynchronizationObject
{
public:
@@ -40,6 +42,8 @@ public:
virtual ~SynchronizedObject();
protected:
+ /*! \brief Locks a synchronization object in the current scope.
+ */
class ExclusiveZone
{
SynchronizationObject *m_syncObject;