summaryrefslogtreecommitdiff
path: root/docs/tutorials/013/mld.cpp
diff options
context:
space:
mode:
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 ();
-}