#define P6_IMPLEMENT_THREADSAFE_RELEASE ( classname   ) 
Value:
P6R::P6INT32 classname::release() {                                        \
   P6ASSERT(0 != m_cRef);                                                  \
   P6R::P6INT32 tmp = p6AtomicDec32(&m_cRef);                              \
   p6TraceRelease(#classname,this,tmp,&m_p6SerialNumberp6);                \
   if(0 == tmp) { delete this; }                                           \
   return tmp;                                                             \
}

Definition at line 73 of file p6comhlpr.h.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.