summaryrefslogtreecommitdiff
path: root/ace/RMCast/RMCast_Copy_On_Write.i
diff options
context:
space:
mode:
Diffstat (limited to 'ace/RMCast/RMCast_Copy_On_Write.i')
-rw-r--r--ace/RMCast/RMCast_Copy_On_Write.i38
1 files changed, 0 insertions, 38 deletions
diff --git a/ace/RMCast/RMCast_Copy_On_Write.i b/ace/RMCast/RMCast_Copy_On_Write.i
deleted file mode 100644
index c83483c0729..00000000000
--- a/ace/RMCast/RMCast_Copy_On_Write.i
+++ /dev/null
@@ -1,38 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-#include "ace/Guard_T.h"
-#include "ace/Null_Mutex.h"
-
-template<class COLLECTION, class ITERATOR> ACE_INLINE
-ACE_RMCast_Copy_On_Write_Collection<COLLECTION,ITERATOR>::
- ACE_RMCast_Copy_On_Write_Collection (void)
- : refcount_ (1)
-{
-}
-
-// ****************************************************************
-
-template<class COLLECTION, class ITERATOR> ACE_INLINE
-ACE_RMCast_Copy_On_Write_Read_Guard<COLLECTION,ITERATOR>::
- ACE_RMCast_Copy_On_Write_Read_Guard (Container &container)
- : collection (0)
- , mutex_ (container.mutex_)
-{
- ACE_GUARD (ACE_SYNCH_MUTEX, ace_mon, this->mutex_);
- this->collection = container.collection_;
- this->collection->_incr_refcnt ();
-}
-
-template<class COLLECTION, class ITERATOR> ACE_INLINE
-ACE_RMCast_Copy_On_Write_Read_Guard<COLLECTION,ITERATOR>::
- ~ACE_RMCast_Copy_On_Write_Read_Guard (void)
-{
- if (this->collection != 0)
- {
- ACE_GUARD (ACE_SYNCH_MUTEX, ace_mon, this->mutex_);
- this->collection->_decr_refcnt ();
- }
-}
-
-// ****************************************************************