diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-05-22 16:25:30 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-05-22 16:25:30 +0000 |
commit | 45240c3596a3bcfaa49485c013a6a930b5a8e9ee (patch) | |
tree | e1c1bd7a49e7d3ef8cf0c7c4964cce11181a3681 /docs/tutorials/013/mld.cpp | |
parent | 0e051eaa84c80a539704b595dfa4063d87997998 (diff) | |
download | ATCD-TAO-1_1_3.tar.gz |
This commit was manufactured by cvs2svn to create tag 'TAO-1_1_3'.TAO-1_1_3
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 (); -} |