diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-30 22:18:03 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-30 22:18:03 +0000 |
commit | a479078c9f8ff4c0c17c679468298f61c19230d9 (patch) | |
tree | c185e1bc56840640bb1944f776499c6ffaa1dc0f /docs/tutorials/020/mmap.cpp | |
parent | dd4501a0f6706b945705b7640d212ef444c3c68e (diff) | |
download | ATCD-pre_pluggable_av_merge.tar.gz |
This commit was manufactured by cvs2svn to create tagpre_pluggable_av_merge
'pre_pluggable_av_merge'.
Diffstat (limited to 'docs/tutorials/020/mmap.cpp')
-rw-r--r-- | docs/tutorials/020/mmap.cpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/docs/tutorials/020/mmap.cpp b/docs/tutorials/020/mmap.cpp deleted file mode 100644 index 6ee9f1198c8..00000000000 --- a/docs/tutorials/020/mmap.cpp +++ /dev/null @@ -1,34 +0,0 @@ - -// $Id$ - -#include "mmap.h" - -SharedData::SharedData(int _initialize) - : available_(0) -{ - if( _initialize ) - { - ACE_OS::sprintf(buf_,"UNSET\n"); - } -} - -void SharedData::set(void) -{ - ACE_OS::sprintf(buf_,"My PID is (%d)\n",ACE_OS::getpid()); -} - -void SharedData::show(void) -{ - ACE_DEBUG ((LM_INFO, "(%P|%t) Shared Data text is (%s)\n", - buf_ )); -} - -int SharedData::available(void) -{ - return available_; -} - -void SharedData::available(int _available) -{ - available_ = _available; -} |