summaryrefslogtreecommitdiff
path: root/docs/tutorials/013/mld.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-08-27 18:14:04 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-08-27 18:14:04 +0000
commit6c13de310492e31ede379bb04df1c62cbdb4b09f (patch)
treee97ae496cdcdecfec591b74ea60dde5ceb33d32a /docs/tutorials/013/mld.cpp
parentb5e068afb139dc7c6b9cf90c53571a4333105c95 (diff)
downloadATCD-pre_dynamic_any.tar.gz
This commit was manufactured by cvs2svn to create tagpre_dynamic_any
'pre_dynamic_any'.
Diffstat (limited to 'docs/tutorials/013/mld.cpp')
-rw-r--r--docs/tutorials/013/mld.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/docs/tutorials/013/mld.cpp b/docs/tutorials/013/mld.cpp
deleted file mode 100644
index ca12d9eb514..00000000000
--- a/docs/tutorials/013/mld.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-
-// $Id$
-
-#include "mld.h"
-
-ACE_Atomic_Op < ACE_Mutex, int >mld::counter_ (0);
-
-// Increment the counter when a new mld is created...
-mld::mld (void)
-{
- ++counter_;
-}
-
-// and decrement it when the object is destructed.
-mld::~mld (void)
-{
- --counter_;
-}
-
-int mld::value (void)
-{
- return counter_.value ();
-}