#define P6_REFCOUNTED_THREADSAFE_ADDREF | ( | classname | ) |
The P6_REFCOUNTED_THREADSAFE_ADDREF helper macro implements a threadsafe addref() method for use in classes which inhereit from p6IRefCounted.
The macro assumes that a member variable of type P6AUTO_INT32 named m_cRef exists in the class. This macro is called by the P6_REFCOUNTED macro.
classname | The name of the class in which the addref() method is being declared/implemented. |
Definition at line 557 of file p6comhlpr.h.