Searched refs:NewRefCount (Results 1 – 3 of 3) sorted by relevance
98 int NewRefCount = RefCount.fetch_sub(1, std::memory_order_acq_rel) - 1; in Release() local99 assert(NewRefCount >= 0 && "Reference count was already zero."); in Release()100 if (NewRefCount == 0) in Release()
110 int NewRefCount = --RefCount; in Release() local111 assert(NewRefCount >= 0 && "Reference count was already zero."); in Release()112 if (NewRefCount == 0) in Release()
108 int NewRefCount = RefCount.fetch_sub(1, std::memory_order_acq_rel) - 1; in Release() local109 assert(NewRefCount >= 0 && "Reference count was already zero."); in Release()110 if (NewRefCount == 0) in Release()