| 377 | // } |
| 378 | |
| 379 | uint32 BfAtomComposite::GetAtomUpdateIdx() |
| 380 | { |
| 381 | uint32 updateIdx = 0; |
| 382 | for (int i = 0; i < mSize; i++) |
| 383 | { |
| 384 | auto atom = mParts[i]; |
| 385 | if ((atom->mRefCount - atom->mPendingDerefCount) == 0) |
| 386 | return 0; // 0 is our "error condition" when we're looking at a graveyard'ed atom |
| 387 | updateIdx = BF_MAX(updateIdx, atom->mAtomUpdateIdx); |
| 388 | } |
| 389 | return updateIdx; |
| 390 | } |
| 391 | |
| 392 | BfSizedAtomComposite::BfSizedAtomComposite() |
| 393 | { |
no outgoing calls
no test coverage detected