diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-09-07 00:09:45 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-09-07 00:09:45 +0000 |
commit | ec38b8c0642802fb388027bf52848649a4d7f55c (patch) | |
tree | 4a678dfb866c2254cc0adac70688c8101c95d11e /docs/tutorials/013/mld.cpp | |
parent | 58fa009c31d447a6b8313d1cc7d9295fbf0c0b9a (diff) | |
download | ATCD-TAO-1_1_9.tar.gz |
This commit was manufactured by cvs2svn to create tag 'TAO-1_1_9'.TAO-1_1_9
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 (); -} |