예제 #1
0
static inline
void sx_PushLastNewPtr(void* ptr, CAtomicCounter::TValue type)
{
    if ( s_LastNewPtr ) {
        // multiple
        sx_PushLastNewPtrMultiple(ptr, type);
    }
    else {
        s_LastNewPtr = ptr;
        s_LastNewType = type;
    }
}
예제 #2
0
static inline
void sx_PushLastNewPtr(void* ptr, CAtomicCounter::TValue type)
{
    //cerr << "sx_PushLastNewPtr(" << ptr << ", "<<s_LastNewPtr<<")"<<endl;
    if ( s_LastNewPtr ) {
        // multiple
        sx_PushLastNewPtrMultiple(ptr, type);
    }
    else {
        s_LastNewPtr = ptr;
        s_LastNewType = type;
    }
}