[svn] * Added ACE for Linux and Windows (Thanks Derex for Linux part and partial Windows part)
* Updated to 6721 and 676 * Fixed TrinityScript logo * Version updated to 0.2.6721.676 --HG-- branch : trunk rename : 6700-670 => 6721-676
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
// -*- C++ -*-
|
||||
//
|
||||
//$Id: Refcountable_T.inl 81407 2008-04-24 05:59:30Z johnnyw $
|
||||
|
||||
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
template <class ACE_LOCK>
|
||||
ACE_INLINE
|
||||
ACE_Refcountable_T<ACE_LOCK>::ACE_Refcountable_T (long refcount)
|
||||
: refcount_ (refcount)
|
||||
{
|
||||
}
|
||||
|
||||
template <class ACE_LOCK>
|
||||
ACE_INLINE long
|
||||
ACE_Refcountable_T<ACE_LOCK>::increment (void)
|
||||
{
|
||||
return ++this->refcount_;
|
||||
}
|
||||
|
||||
template <class ACE_LOCK>
|
||||
ACE_INLINE long
|
||||
ACE_Refcountable_T<ACE_LOCK>::decrement (void)
|
||||
{
|
||||
return --this->refcount_;
|
||||
}
|
||||
|
||||
template <class ACE_LOCK>
|
||||
ACE_INLINE long
|
||||
ACE_Refcountable_T<ACE_LOCK>::refcount (void) const
|
||||
{
|
||||
return this->refcount_.value ();
|
||||
}
|
||||
|
||||
ACE_END_VERSIONED_NAMESPACE_DECL
|
||||
Reference in New Issue
Block a user