diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-24 19:02:10 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-24 19:02:10 +0000 |
commit | eef5b7ca85a3842950948fccca42a3b83c84ff75 (patch) | |
tree | f0cefdf50cecee81338f319ea19608d49cf3898a /docs/tutorials/013/mld.cpp | |
parent | 07e8a1d00d1e2ab1c2b47e3698886f1512bcf03a (diff) | |
download | ATCD-pluggable_av_start.tar.gz |
This commit was manufactured by cvs2svn to create tagpluggable_av_start
'pluggable_av_start'.
Diffstat (limited to 'docs/tutorials/013/mld.cpp')
-rw-r--r-- | docs/tutorials/013/mld.cpp | 23 |
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 (); -} |