summaryrefslogtreecommitdiff
path: root/TAO/tao/Synch_Refcountable.cpp
blob: 4bd6b1fc0abf5dcee8ae9ed020c08b17a3e28b12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "Synch_Refcountable.h"


#if !defined (__ACE_INLINE__)
# include "Synch_Refcountable.inl"
#endif /* __ACE_INLINE__ */

ACE_RCSID (tao,
           Synch_Refcountable,
           "$Id$")

TAO_Synch_Refcountable::TAO_Synch_Refcountable (ACE_Lock *lock,
                                                int refcount)
  : ACE_Refcountable (refcount)
  , refcount_lock_ (lock)
{
}

TAO_Synch_Refcountable::~TAO_Synch_Refcountable (void)
{
  delete this->refcount_lock_;
}